oracle.panama.spatial.mapper
Class BoundingBox
java.lang.Object
|
+--oracle.panama.spatial.mapper.BoundingBox
- public class BoundingBox
- extends java.lang.Object
This class defines a bounding box for a set of points. Objects of this class are immutable and thread-safe.
Constructor Summary |
BoundingBox(double min_Lon, double max_Lon, double min_Lat, double max_Lat)
|
BoundingBox(Point[] locations)
Constructor of a BoundingBox. |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
minLat
public final double minLat
- This represents the minimum latitude of the bounding box
maxLat
public final double maxLat
- This represents the maximum latitude of the bounding box
minLon
public final double minLon
- This represents the minimum longitude of the bounding box
maxLon
public final double maxLon
- This represents the maximum longitude of the bounding box
lowerLeft
public final Point lowerLeft
upperLeft
public final Point upperLeft
lowerRight
public final Point lowerRight
upperRight
public final Point upperRight
BoundingBox
public BoundingBox(Point[] locations)
- Constructor of a BoundingBox.
- Parameters:
locations
- an array of Point objects from which to create the minimum bounding box plus some buffer area
BoundingBox
public BoundingBox(double min_Lon,
double max_Lon,
double min_Lat,
double max_Lat)
getVerticalDist
public double getVerticalDist()
getHorizontalDist
public double getHorizontalDist()
toString
public java.lang.String toString()
-
- Overrides:
toString
in class java.lang.Object
Copyright © 2003 Oracle Corporation. All Rights Reserved.