|
SGT Home | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Object | +--gov.noaa.pmel.util.SoTPoint
SoTPoint has two coordinates which are of
type SoTValue. SoT stands for
space or time, but being basically lazy I've abbreviated it.
| Field Summary | |
SoTValue |
x_
X coordinate |
SoTValue |
y_
Y coordinate |
| Constructor Summary | |
SoTPoint()
Default constructor. |
|
SoTPoint(double x,
double y)
Construct a SoTPoint from doubles. |
|
SoTPoint(double x,
GeoDate y)
Construct a SoTPoint from a double and
a GeoDate. |
|
SoTPoint(GeoDate x,
double y)
Construct a SoTPoint from a GeoDate and
a double. |
|
SoTPoint(SoTValue x,
SoTValue y)
Construct a SoTPoint from SoTValues. |
|
| Method Summary | |
boolean |
equals(SoTPoint stp)
Test for equality. |
SoTValue |
getX()
Get x value |
SoTValue |
getY()
Get y value |
boolean |
isXTime()
Test if x value is time |
boolean |
isYTime()
Test if y value is time |
java.lang.String |
toString()
Convert SoTPoint to a default string |
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
public SoTValue x_
public SoTValue y_
| Constructor Detail |
public SoTPoint()
public SoTPoint(SoTValue x,
SoTValue y)
SoTPoint from SoTValues.x - space or time coordinatey - space or time coordinate
public SoTPoint(double x,
double y)
SoTPoint from doubles.
public SoTPoint(double x,
GeoDate y)
SoTPoint from a double and
a GeoDate.
public SoTPoint(GeoDate x,
double y)
SoTPoint from a GeoDate and
a double.| Method Detail |
public SoTValue getX()
public SoTValue getY()
public boolean equals(SoTPoint stp)
public boolean isXTime()
public boolean isYTime()
public java.lang.String toString()
SoTPoint to a default stringtoString in class java.lang.Object
|
SGT Home | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||