1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28 /***
29 * SplitLayerInfo.java
30 *
31 *
32 * Created: Wed Feb 3 11:32:14 1999
33 *
34 * @author Philip Crotwell
35 * @version 1.1.3 Wed Jul 18 15:00:35 GMT 2001
36
37
38
39 */
40 package edu.sc.seis.TauP;
41
42 public class SplitLayerInfo implements java.io.Serializable, Cloneable {
43
44 boolean neededSplit;
45
46 boolean movedSample;
47
48 double rayParam;
49
50 public SplitLayerInfo(boolean neededSplit,
51 boolean movedSample,
52 double rayParam) {
53 this.neededSplit = neededSplit;
54 this.movedSample = movedSample;
55 this.rayParam = rayParam;
56 }
57
58
59 /***
60 * Get the value of neededSplit.
61 * @return Value of neededSplit.
62 */
63 public boolean getNeededSplit() {return neededSplit;}
64
65 /***
66 * Set the value of neededSplit.
67 * @param v Value to assign to neededSplit.
68 */
69 public void setNeededSplit(boolean v) {this.neededSplit = v;}
70
71
72 /***
73 * Get the value of movedSample.
74 * @return Value of movedSample.
75 */
76 public boolean getMovedSample() {return movedSample;}
77
78 /***
79 * Set the value of movedSample.
80 * @param v Value to assign to movedSample.
81 */
82 public void setMovedSample(boolean v) {this.movedSample = v;}
83
84
85 /***
86 * Get the value of rayParam.
87 * @return Value of rayParam.
88 */
89 public double getRayParam() {return rayParam;}
90
91 /***
92 * Set the value of rayParam.
93 * @param v Value to assign to rayParam.
94 */
95 public void setRayParam(double v) {this.rayParam = v;}
96
97 }