Package edu.sc.seis.TauP
Class ExactDistanceRay
java.lang.Object
edu.sc.seis.TauP.RayCalculateable
edu.sc.seis.TauP.DistanceRay
edu.sc.seis.TauP.ExactDistanceRay
- All Implemented Interfaces:
Cloneable
Calculatable ray that covers an exact distance, disallowing n*360-x and n*360+x.
-
Field Summary
Fields inherited from class edu.sc.seis.TauP.RayCalculateable
azimuth, backAzimuth, description, distCalc, evtLatLon, seismicSource, staLatLon -
Method Summary
Modifier and TypeMethodDescriptioncalcRadiansInRange(double minRadian, double maxRadian, double radius, boolean phaseBothHemisphere) calculate(SeismicPhase phase) voidcopyFrom(DistanceRay dr) protected ExactDistanceRayGets azimuth if available, null otherwise.Gets azimuth if available, null otherwise.doubledoubleReturns azimuth, if available, in the range -180<baz<=180.Returns back azimuth, if available, in the range -180<baz<=180.doublebooleanbooleanbooleanbooleanbooleanbooleanbooleanvoidsetAzimuth(Double azimuth) voidsetBackAzimuth(Double backAzimuth) voidsetDescription(String desc) toString()voidwithEventAzimuth(edu.sc.seis.seisFile.LatLonLocatable evt, double azimuth) voidwithStationBackAzimuth(edu.sc.seis.seisFile.LatLonLocatable sta, double backazimuth) Methods inherited from class edu.sc.seis.TauP.DistanceRay
calcSimplePhase, duplicate, getReceiver, getSource, hasReceiver, hasSource, ofDegrees, ofDegrees, ofEventStation, ofExactDegrees, ofExactDegrees, ofExactKilometers, ofExactRadians, ofFixedHemisphereDegrees, ofFixedHemisphereDegrees, ofFixedHemisphereKilometers, ofFixedHemisphereRadians, ofKilometers, ofRadians, ofRadiansMethods inherited from class edu.sc.seis.TauP.RayCalculateable
getAttenuationFrequency, getDistCalc, getFaultPlane, getGeodesic, getMoment, getMw, getNumFrequencies, hasFaultPlane, hasMw, insertSeismicSource, normalizAzimuth, setSeismicSource
-
Method Details
-
calculate
- Overrides:
calculatein classDistanceRay
-
calcScatteredPhase
- Overrides:
calcScatteredPhasein classDistanceRay
-
copyFrom
-
getDegrees
public double getDegrees()- Specified by:
getDegreesin classDistanceRay
-
getRadians
public double getRadians()- Specified by:
getRadiansin classDistanceRay
-
getKilometers
public double getKilometers()- Specified by:
getKilometersin classDistanceRay
-
withEventAzimuth
public void withEventAzimuth(edu.sc.seis.seisFile.LatLonLocatable evt, double azimuth) - Overrides:
withEventAzimuthin classRayCalculateable
-
withStationBackAzimuth
public void withStationBackAzimuth(edu.sc.seis.seisFile.LatLonLocatable sta, double backazimuth) - Overrides:
withStationBackAzimuthin classRayCalculateable
-
hasSourceDepth
public boolean hasSourceDepth()- Overrides:
hasSourceDepthin classRayCalculateable
-
getSourceDepth
- Overrides:
getSourceDepthin classRayCalculateable
-
hasReceiverDepth
public boolean hasReceiverDepth()- Overrides:
hasReceiverDepthin classRayCalculateable
-
getReceiverDepth
- Overrides:
getReceiverDepthin classRayCalculateable
-
hasAzimuth
public boolean hasAzimuth()- Overrides:
hasAzimuthin classDistanceRay
-
getNormalizedAzimuth
Returns azimuth, if available, in the range -180<baz<=180.- Overrides:
getNormalizedAzimuthin classRayCalculateable- Returns:
- azimuth
-
getAzimuth
Gets azimuth if available, null otherwise.- Overrides:
getAzimuthin classDistanceRay- Returns:
- azimuth
-
setAzimuth
- Overrides:
setAzimuthin classRayCalculateable
-
hasBackAzimuth
public boolean hasBackAzimuth()- Overrides:
hasBackAzimuthin classDistanceRay
-
getNormalizedBackAzimuth
Returns back azimuth, if available, in the range -180<baz<=180.- Overrides:
getNormalizedBackAzimuthin classRayCalculateable- Returns:
- back azimuth
-
getBackAzimuth
Gets azimuth if available, null otherwise.- Overrides:
getBackAzimuthin classDistanceRay- Returns:
- azimuth
-
setBackAzimuth
- Overrides:
setBackAzimuthin classRayCalculateable
-
hasSeismicSource
public boolean hasSeismicSource()- Overrides:
hasSeismicSourcein classRayCalculateable
-
getSeismicSource
- Overrides:
getSeismicSourcein classRayCalculateable
-
hasDescription
public boolean hasDescription()- Overrides:
hasDescriptionin classRayCalculateable
-
getDescription
- Overrides:
getDescriptionin classRayCalculateable
-
setDescription
- Overrides:
setDescriptionin classRayCalculateable
-
isLatLonable
public boolean isLatLonable()- Overrides:
isLatLonablein classDistanceRay
-
getLatLonable
- Overrides:
getLatLonablein classDistanceRay
-
calcRadiansInRange
public List<Double> calcRadiansInRange(double minRadian, double maxRadian, double radius, boolean phaseBothHemisphere) - Overrides:
calcRadiansInRangein classDistanceRay
-
duplicate
-
toString
- Overrides:
toStringin classRayCalculateable
-
getWrappedDistanceRay
-