Class SphericalCoordinate


  • public class SphericalCoordinate
    extends java.lang.Object
    • Constructor Detail

      • SphericalCoordinate

        public SphericalCoordinate​(double phi,
                                   double theta)
      • SphericalCoordinate

        public SphericalCoordinate​(double phi,
                                   double theta,
                                   double r)
    • Method Detail

      • fromAzTakeoffDegree

        public static SphericalCoordinate fromAzTakeoffDegree​(double azDeg,
                                                              double takeoffDeg)
      • 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 java.lang.String toString()
        Overrides:
        toString in class java.lang.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)