|
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.BoundingBox
The BoundingBox holds a shapefile's or a shape's minimum and maximum X and Y values
| Constructor Summary | |
BoundingBox()
Creates a Bounding box with both minimum and maximum values of X and Y set to zero. |
|
BoundingBox(double xMin,
double yMin,
double xMax,
double yMax)
Creates a Bounding box specified minimum and maximum X and Y values. |
|
| Method Summary | |
double |
getXMax()
Retrieves the maximum X value. |
double |
getXMin()
Retrieves the minimum X value. |
double |
getYMax()
Retrieves the maximum Y value. |
double |
getYMin()
Retrieves the minimum Y value. |
void |
setXMax(double xMax)
Sets the maximum X value to that specified. |
void |
setXMin(double xMin)
Sets the minimum X value to that specified. |
void |
setYMax(double yMax)
Sets the maximum Y value to that specified. |
void |
setYMin(double yMin)
Sets the minimum Y value to that specified. |
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public BoundingBox()
public BoundingBox(double xMin,
double yMin,
double xMax,
double yMax)
xMin - Desired minimum X value as a doubleyMin - Desired minimum Y value as a doublexMax - Desired maximum X value as a doubleyMax - Desired maximum Y value as a double| Method Detail |
public double getXMin()
public double getXMax()
public double getYMin()
public double getYMax()
public void setXMin(double xMin)
xMin - Desired minimum X value as a doublepublic void setXMax(double xMax)
xMax - Desired maximum X value as a doublepublic void setYMin(double yMin)
yMin - Desired minimum Y value as a doublepublic void setYMax(double yMax)
yMax - Desired maximum Y value as a double
|
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 | |||||||||