Package edu.sc.seis.TauP
Class RayCalculateable
- java.lang.Object
-
- edu.sc.seis.TauP.RayCalculateable
-
- Direct Known Subclasses:
DistanceRay
,ShootableRay
public abstract class RayCalculateable extends java.lang.Object
-
-
Field Summary
Fields Modifier and Type Field Description protected java.lang.Double
azimuth
protected java.lang.Double
backAzimuth
protected java.lang.String
description
protected edu.sc.seis.seisFile.Location
evtLatLon
protected boolean
geodetic
protected java.lang.Double
invFlattening
protected edu.sc.seis.seisFile.Location
staLatLon
-
Constructor Summary
Constructors Constructor Description RayCalculateable()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description abstract java.util.List<Arrival>
calculate(SeismicPhase phase)
java.lang.String
getDescription()
abstract LatLonable
getLatLonable()
java.lang.Double
getReceiverDepth()
java.lang.Double
getSourceDepth()
boolean
hasDescription()
boolean
hasReceiverDepth()
boolean
hasSourceDepth()
abstract boolean
isLatLonable()
void
setDescription(java.lang.String desc)
java.lang.String
toString()
void
withEventAzimuth(edu.sc.seis.seisFile.Location evt, double azimuth)
void
withStationBackAzimuth(edu.sc.seis.seisFile.Location sta, double backazimuth)
-
-
-
Field Detail
-
staLatLon
protected edu.sc.seis.seisFile.Location staLatLon
-
evtLatLon
protected edu.sc.seis.seisFile.Location evtLatLon
-
azimuth
protected java.lang.Double azimuth
-
backAzimuth
protected java.lang.Double backAzimuth
-
geodetic
protected boolean geodetic
-
invFlattening
protected java.lang.Double invFlattening
-
description
protected java.lang.String description
-
-
Method Detail
-
calculate
public abstract java.util.List<Arrival> calculate(SeismicPhase phase) throws SlownessModelException, NoSuchLayerException
-
withEventAzimuth
public void withEventAzimuth(edu.sc.seis.seisFile.Location evt, double azimuth)
-
withStationBackAzimuth
public void withStationBackAzimuth(edu.sc.seis.seisFile.Location sta, double backazimuth)
-
isLatLonable
public abstract boolean isLatLonable()
-
getLatLonable
public abstract LatLonable getLatLonable()
-
hasSourceDepth
public boolean hasSourceDepth()
-
getSourceDepth
public java.lang.Double getSourceDepth()
-
hasReceiverDepth
public boolean hasReceiverDepth()
-
getReceiverDepth
public java.lang.Double getReceiverDepth()
-
hasDescription
public boolean hasDescription()
-
getDescription
public java.lang.String getDescription()
-
setDescription
public void setDescription(java.lang.String desc)
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
-