|
SGT Home | |||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
| SUMMARY: NESTED | 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.
| 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(double x,
long y)
|
|
SoTPoint(GeoDate x,
double y)
Construct a SoTPoint from a GeoDate and
a double. |
|
SoTPoint(long x,
double y)
|
|
SoTPoint(SoTPoint pt)
Construct a SoTPoint from a SoTPoint. |
|
SoTPoint(SoTValue x,
SoTValue y)
Construct a SoTPoint from SoTValues. |
|
| Method Summary | |
void |
add(SoTPoint point)
Add to point. |
SoTPoint |
copy()
Make a copy of the SoTRange. |
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 |
void |
setX(SoTValue x)
Set x value |
void |
setY(SoTValue y)
Set y value |
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 |
| 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(double x,
long y)
public SoTPoint(GeoDate x,
double y)
SoTPoint from a GeoDate and
a double.
public SoTPoint(long x,
double y)
public SoTPoint(SoTPoint pt)
SoTPoint from a SoTPoint.
| Method Detail |
public SoTValue getX()
public void setX(SoTValue x)
public SoTValue getY()
public void setY(SoTValue y)
public boolean equals(SoTPoint stp)
public boolean isXTime()
public boolean isYTime()
public void add(SoTPoint point)
public SoTPoint copy()
SoTRange.
public java.lang.String toString()
SoTPoint to a default string
toString in class java.lang.Object
|
SGT Home | |||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||||