|
Oracle Application Server Wireless Java API Reference B14043-01 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object
oracle.panama.spatial.mapper.BoundingBox
This class defines a bounding box for a set of points. Objects of this class are immutable and thread-safe.
Field Summary | |
Point |
lowerLeft The lower left coordinate |
Point |
lowerRight The lower right coordinate |
double |
maxLat This represents the maximum latitude of the bounding box |
double |
maxLon This represents the maximum longitude of the bounding box |
double |
minLat This represents the minimum latitude of the bounding box |
double |
minLon This represents the minimum longitude of the bounding box |
Point |
upperLeft The upper left coordinate |
Point |
upperRight The upper right coordinate |
Constructor Summary | |
BoundingBox(double min_Lon, double max_Lon, double min_Lat, double max_Lat) Constructor of a BoundingBox. |
|
BoundingBox(Point[] locations) Constructor of a BoundingBox. |
Method Summary | |
double |
getHorizontalDist() Returns the horizontal distance of the box |
double |
getVerticalDist() Returns the vertical distance of the box |
java.lang.String |
toString() Returns the string representation of the box |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
public final Point lowerLeft
public final Point lowerRight
public final double maxLat
public final double maxLon
public final double minLat
public final double minLon
public final Point upperLeft
public final Point upperRight
Constructor Detail |
public BoundingBox(double min_Lon, double max_Lon, double min_Lat, double max_Lat)
min_Lon
- the minimum longitude of the boxmax_Lon
- the maximum longitude of the boxmin_Lat
- the minimum latitude of the boxmax_Lat
- the maximum latitude of the boxpublic BoundingBox(Point[] locations)
locations
- an array of Point objects from which to create the minimum bounding box plus some buffer areaMethod Detail |
public double getHorizontalDist()
public double getVerticalDist()
public java.lang.String toString()
|
Oracle Application Server Wireless Java API Reference B14043-01 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |