|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--edu.sc.seis.TauP.Arrival
convenience class for storing the parameters associated with a phase arrival.
Constructor Summary | |
Arrival(SeismicPhase phase,
double time,
double dist,
double rayParam,
int rayParamIndex,
java.lang.String name,
java.lang.String puristName,
double sourceDepth)
|
Method Summary | |
java.lang.Object |
clone()
|
double |
getDist()
returns travel distance in radians |
double |
getDistDeg()
returns travel distance in degrees. |
TimeDist |
getFirstPiercePoint(double depth)
finds the first pierce point at the given depth. |
TimeDist |
getLastPiercePoint(double depth)
finds the last pierce point at the given depth. |
double |
getModuloDist()
returns distance in radians and in the range 0-PI. |
double |
getModuloDistDeg()
returns distance in degrees and in the range 0-180. |
java.lang.String |
getName()
returns phase name |
int |
getNumPathPoints()
|
int |
getNumPiercePoints()
|
TimeDist[] |
getPath()
returns pierce points as TimeDist objects. |
TimeDist |
getPathPoint(int i)
|
SeismicPhase |
getPhase()
|
TimeDist[] |
getPierce()
returns pierce points as TimeDist objects. |
TimeDist |
getPiercePoint(int i)
|
java.lang.String |
getPuristName()
returns purist's version of name. |
double |
getRayParam()
returns ray parameter in seconds per radian |
double |
getSourceDepth()
returns source depth in kilometers |
double |
getTime()
returns travel time in seconds |
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public Arrival(SeismicPhase phase, double time, double dist, double rayParam, int rayParamIndex, java.lang.String name, java.lang.String puristName, double sourceDepth)
Method Detail |
public SeismicPhase getPhase()
public double getTime()
public double getDist()
public double getDistDeg()
public double getModuloDist()
public double getModuloDistDeg()
public double getRayParam()
public java.lang.String getName()
public java.lang.String getPuristName()
public double getSourceDepth()
public TimeDist[] getPierce()
public TimeDist[] getPath()
public java.lang.Object clone()
public java.lang.String toString()
toString
in class java.lang.Object
public int getNumPiercePoints()
public int getNumPathPoints()
public TimeDist getPiercePoint(int i)
public TimeDist getFirstPiercePoint(double depth)
ArrayIndexOutOfBoundsException
- if depth is not foundpublic TimeDist getLastPiercePoint(double depth)
ArrayIndexOutOfBoundsException
- if depth is not foundpublic TimeDist getPathPoint(int i)
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |