public class Arrival
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
protected static double |
DtoR |
protected static double |
RtoD |
protected static double |
TWOPI |
Constructor and Description |
---|
Arrival(SeismicPhase phase,
double time,
double dist,
double rayParam,
int rayParamIndex,
java.lang.String name,
java.lang.String puristName,
double sourceDepth) |
Arrival(SeismicPhase phase,
double time,
double dist,
double rayParam,
int rayParamIndex,
java.lang.String name,
java.lang.String puristName,
double sourceDepth,
double takeoffAngle,
double incidentAngle) |
Modifier and Type | Method and Description |
---|---|
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.
|
double |
getIncidentAngle() |
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 |
getRayParamDeg()
returns ray parameter in seconds per deg
|
int |
getRayParamIndex() |
double |
getSourceDepth()
returns source depth in kilometers
|
double |
getTakeoffAngle() |
double |
getTime() |
java.lang.String |
toString() |
protected static final double TWOPI
protected static final double DtoR
protected static final double RtoD
public Arrival(SeismicPhase phase, double time, double dist, double rayParam, int rayParamIndex, java.lang.String name, java.lang.String puristName, double sourceDepth)
public Arrival(SeismicPhase phase, double time, double dist, double rayParam, int rayParamIndex, java.lang.String name, java.lang.String puristName, double sourceDepth, double takeoffAngle, double incidentAngle)
public SeismicPhase getPhase()
public double getTime()
public double getDist()
public double getDistDeg()
public double getModuloDist()
public double getModuloDistDeg()
public double getRayParam()
public double getRayParamDeg()
public double getIncidentAngle()
public double getTakeoffAngle()
public int getRayParamIndex()
public java.lang.String getName()
public java.lang.String getPuristName()
public double getSourceDepth()
public TimeDist[] getPierce()
public TimeDist[] getPath()
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)
java.lang.ArrayIndexOutOfBoundsException
- if depth is not foundpublic TimeDist getLastPiercePoint(double depth)
java.lang.ArrayIndexOutOfBoundsException
- if depth is not foundpublic TimeDist getPathPoint(int i)