|
NVS Shapefile library Version 3.2 NVision Solutions, Inc. |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object | +--com.nvs.shapefile.Point
A Point holds X and Y coordinates, but no Record. Points are used by Parts and PointSets.
| Constructor Summary | |
Point()
Creates a new Point with X and Y equal to zero. |
|
Point(double x,
double y)
Creates a new Point with specified X and Y values. |
|
| Method Summary | |
double |
getX()
Retrieves value of X |
double |
getY()
Retrieves value of Y |
void |
setX(double x)
Sets the X value to that specified. |
void |
setY(double y)
Sets the Y value to that specified. |
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public Point()
public Point(double x,
double y)
x - Desired X value as a doubley - Desired Y value as a double| Method Detail |
public void setX(double x)
x - Desired X value as a doublepublic void setY(double y)
y - Desired Y value as a doublepublic double getX()
public double getY()
|
NVS Shapefile library Version 3.2 NVision Solutions, Inc. |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||