|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectgistoolkit.server.mapclient.Extents
Represents a rectangular bounding box. Typically it is used for the minimum bounding rectangle for a particular geographic feature.
Field Summary | |
double |
myBottomX
|
double |
myBottomY
|
double |
myTopX
|
double |
myTopY
|
Constructor Summary | |
Extents()
Create a new Extents with null values. |
|
Extents(double inTopX,
double inTopY,
double inBottomX,
double inBottomY)
Create a new Extents with the given values. |
Method Summary | |
java.lang.Object |
clone()
Create a copy of the bounds. |
boolean |
contains(Extents inExtents)
Determines if the Extents sent in is within the current Extents. |
double |
getBottomX()
|
double |
getBottomY()
|
double |
getHeight()
Returns the height of this extents |
double |
getTopX()
|
double |
getTopY()
|
double |
getWidth()
Returns the width of this extents |
java.lang.String |
toString()
The to string method for debugging. |
void |
translate(double inXDistance,
double inYDistance)
Translate the extents the given distance. |
Methods inherited from class java.lang.Object |
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
public double myTopX
public double myTopY
public double myBottomX
public double myBottomY
Constructor Detail |
public Extents()
public Extents(double inTopX, double inTopY, double inBottomX, double inBottomY)
Method Detail |
public double getTopX()
public double getTopY()
public double getBottomX()
public double getBottomY()
public java.lang.Object clone()
public java.lang.String toString()
public boolean contains(Extents inExtents)
public double getWidth()
public double getHeight()
public void translate(double inXDistance, double inYDistance)
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |