gov.noaa.pmel.util
Class TimePoint
java.lang.Object
|
+--gov.noaa.pmel.util.TimePoint
- public class TimePoint
- extends java.lang.Object
TimePoint allows specification of a time-space point.
- Since:
- sgt 1.0
- Version:
- $Revision: 1.3 $, $Date: 2001/02/09 18:42:30 $
- Author:
- Donald Denbo
Field Summary |
GeoDate |
t
Time coordinate |
double |
x
Space coordinate |
Method Summary |
boolean |
equals(TimePoint tp)
Test for equality. |
java.lang.String |
toString()
Convert TimePoint to a default string |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
x
public double x
- Space coordinate
t
public GeoDate t
- Time coordinate
TimePoint
public TimePoint()
- Default constructor.
TimePoint
public TimePoint(double x,
GeoDate t)
- Construct a TimePoint.
- Parameters:
x
- space coordinatet
- time coordinate
equals
public boolean equals(TimePoint tp)
- Test for equality. Both x and t must be equal for equality.
toString
public java.lang.String toString()
- Convert TimePoint to a default string
- Overrides:
toString
in class java.lang.Object
- Returns:
- string representation of the TimePoint.
Send comments about the Scientific Graphics toolkit to dwd@pmel.noaa.gov. For more information about Java Development in the EPIC Group see the EPIC Software Page
Generated on December 13 2001