Class TimeDist

  • All Implemented Interfaces:
    java.lang.Cloneable

    public class TimeDist
    extends java.lang.Object
    implements java.lang.Cloneable
    Holds the ray parameter, time and distance increments, and optionally a depth, for a ray passing through some layer.
    • Constructor Detail

      • TimeDist

        public TimeDist()
      • TimeDist

        public TimeDist​(double p)
      • TimeDist

        public TimeDist​(double p,
                        double time,
                        double dist)
      • TimeDist

        public TimeDist​(double p,
                        double time,
                        double dist,
                        double depth)
    • Method Detail

      • negateDistance

        public TimeDist negateDistance()
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object
      • getP

        public double getP()
      • getDepth

        public double getDepth()
      • getTime

        public double getTime()
      • getDistRadian

        public double getDistRadian()
      • getDistDeg

        public double getDistDeg()
      • clone

        public java.lang.Object clone()
        Overrides:
        clone in class java.lang.Object
      • equals

        public boolean equals​(java.lang.Object o)
        Overrides:
        equals in class java.lang.Object
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object