Package edu.sc.seis.TauP
Class DistanceKmRay
- java.lang.Object
-
- edu.sc.seis.TauP.RayCalculateable
-
- edu.sc.seis.TauP.DistanceRay
-
- edu.sc.seis.TauP.DistanceKmRay
-
- All Implemented Interfaces:
java.lang.Cloneable
public class DistanceKmRay extends DistanceRay
-
-
Field Summary
Fields Modifier and Type Field Description protected double
kilometers
-
Fields inherited from class edu.sc.seis.TauP.RayCalculateable
azimuth, backAzimuth, description, evtLatLon, geodetic, invFlattening, sourceArgs, staLatLon
-
-
Constructor Summary
Constructors Constructor Description DistanceKmRay(double km)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected DistanceKmRay
duplicate()
double
getDegrees(double radius)
double
getKilometers()
double
getKilometers(double radius)
double
getRadians(double radius)
java.lang.String
toString()
-
Methods inherited from class edu.sc.seis.TauP.DistanceRay
calcRadiansInRange, calcScatteredPhase, calcSimplePhase, calculate, duplicate, getLatLonable, isLatLonable, ofDegrees, ofEventStation, ofExactDegrees, ofExactKilometers, ofExactRadians, ofFixedHemisphereDegrees, ofFixedHemisphereKilometers, ofFixedHemisphereRadians, ofGeodeticEventStation, ofKilometers, ofRadians
-
Methods inherited from class edu.sc.seis.TauP.RayCalculateable
getAzimuth, getBackAzimuth, getDescription, getNormalizedAzimuth, getNormalizedBackAzimuth, getReceiver, getReceiverDepth, getSource, getSourceArgs, getSourceDepth, hasAzimuth, hasBackAzimuth, hasDescription, hasReceiver, hasReceiverDepth, hasSource, hasSourceArgs, hasSourceDepth, isGeodetic, setAzimuth, setBackAzimuth, setDescription, setSourceArgs, withEventAzimuth, withStationBackAzimuth
-
-
-
-
Method Detail
-
getDegrees
public double getDegrees(double radius)
- Specified by:
getDegrees
in classDistanceRay
-
getRadians
public double getRadians(double radius)
- Specified by:
getRadians
in classDistanceRay
-
getKilometers
public double getKilometers(double radius)
- Specified by:
getKilometers
in classDistanceRay
-
getKilometers
public double getKilometers()
-
toString
public java.lang.String toString()
- Overrides:
toString
in classRayCalculateable
-
duplicate
protected DistanceKmRay duplicate()
-
-