edu.sc.seis.TauP
Class TimeDist

java.lang.Object
  extended by edu.sc.seis.TauP.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.


Field Summary
 double depth
           
 double distRadian
           
 double p
           
 double time
           
 
Constructor Summary
TimeDist()
           
TimeDist(double p)
           
TimeDist(double p, double time, double dist)
           
TimeDist(double p, double time, double dist, double depth)
           
 
Method Summary
 void add(TimeDist td)
           
 java.lang.Object clone()
           
 double getDepth()
           
 double getDistDeg()
           
 double getDistRadian()
           
 double getP()
           
 double getTime()
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

p

public double p

depth

public double depth

time

public double time

distRadian

public double distRadian
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

add

public void add(TimeDist td)

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