Package edu.sc.seis.TauP
Class SphericalCoordinate
java.lang.Object
edu.sc.seis.TauP.SphericalCoordinate
-
Constructor Summary
ConstructorsConstructorDescriptionSphericalCoordinate(double phi, double theta) SphericalCoordinate(double phi, double theta, double r) -
Method Summary
Modifier and TypeMethodDescriptionstatic double[]crossProduct(double[] a, double[] b) static SphericalCoordinatefromAzTakeoffDegree(double azDeg, double takeoffDeg) static SphericalCoordinatefromCartesian(double[] vector) doubledoubledoublegetPhi()doublegetR()doubledoublegetTheta()static doublephiToTakeoffToDegree(double phi) static doublephiToTakeoffToRadian(double phi) doublestereoR()static doubletakeoffDegreeToPhiRadian(double takeoffDeg) toString()
-
Constructor Details
-
SphericalCoordinate
public SphericalCoordinate(double phi, double theta) -
SphericalCoordinate
public SphericalCoordinate(double phi, double theta, double r)
-
-
Method Details
-
fromAzTakeoffDegree
-
fromCartesian
-
toCartesian
-
getPhi
public double getPhi() -
getTheta
public double getTheta() -
getR
public double getR() -
getAzimuthRadian
public double getAzimuthRadian() -
getAzimuthDegree
public double getAzimuthDegree() -
getTakeoffAngleDegree
public double getTakeoffAngleDegree() -
stereoR
public double stereoR() -
toString
-
takeoffDegreeToPhiRadian
public static double takeoffDegreeToPhiRadian(double takeoffDeg) -
phiToTakeoffToRadian
public static double phiToTakeoffToRadian(double phi) -
phiToTakeoffToDegree
public static double phiToTakeoffToDegree(double phi) -
crossProduct
public static double[] crossProduct(double[] a, double[] b)
-