|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectde.fhg.igd.earth.model.input.shapefile.ESRIBoundingBox
Title : Earth Copyright : Copyright (c) 2001 Organisation : IGD FhG
| Field Summary | |
ESRIPoint |
max
The maximum point. |
ESRIPoint |
min
The minimum point. |
| Constructor Summary | |
ESRIBoundingBox()
Initialize a null bounding box. |
|
ESRIBoundingBox(double x,
double y)
Initialize a bounding box from two doubles representing a point. |
|
ESRIBoundingBox(ESRIPoint point)
Initialize a bounding box from a point. |
|
ESRIBoundingBox(ESRIPoint _min,
ESRIPoint _max)
Initialize a bounding box to encompass a minimum and maximum point. |
|
| Method Summary | |
void |
addBounds(ESRIBoundingBox bb)
Increase the extents of this bounding box to enclose the given bounding box. |
void |
addPoint(double x,
double y)
|
void |
addPoint(ESRIPoint point)
Increase the extents of this bounding box to enclose the given point. |
void |
addPoints(ESRIPoint[] points)
Increase the extents of this bounding box to enclose all of the given points. |
boolean |
equals(Object obj)
Determines equality with another bounding box |
| Methods inherited from class java.lang.Object |
clone, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
public ESRIPoint min
public ESRIPoint max
| Constructor Detail |
public ESRIBoundingBox()
public ESRIBoundingBox(ESRIPoint point)
point - the point to enclose
public ESRIBoundingBox(double x,
double y)
x - the x coordinatey - the y coordinate
public ESRIBoundingBox(ESRIPoint _min,
ESRIPoint _max)
_min - a point to enclose_max - another point to enclose| Method Detail |
public void addBounds(ESRIBoundingBox bb)
bb - a bounding box to be enclosedpublic void addPoints(ESRIPoint[] points)
points - a set of points to enclosepublic void addPoint(ESRIPoint point)
point - a point to enclose
public void addPoint(double x,
double y)
public boolean equals(Object obj)
obj - a candidate object
true if obj is of type
ESRIBoundingBox and the
extents of that bounding box match this box's extents.
false otherwise.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||