Class SphericalCoordinate

java.lang.Object
edu.sc.seis.TauP.SphericalCoordinate

public class SphericalCoordinate extends Object
  • Constructor Details

    • SphericalCoordinate

      public SphericalCoordinate(double phi, double theta)
    • SphericalCoordinate

      public SphericalCoordinate(double phi, double theta, double r)
  • Method Details

    • fromAzTakeoffDegree

      public static SphericalCoordinate fromAzTakeoffDegree(double azDeg, double takeoffDeg)
    • fromCartesian

      public static SphericalCoordinate fromCartesian(double[] vector)
    • toCartesian

      public Vector 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

      public String toString()
      Overrides:
      toString in class Object
    • 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)