| Constructor and Description |
|---|
XYZBounds()
Construct an empty bounds object
|
| Modifier and Type | Method and Description |
|---|---|
Bounds |
addHorizontalPlane(PlanetModel planetModel,
double latitude,
Plane horizontalPlane,
Membership... bounds)
Add a horizontal plane to the bounds description.
|
Bounds |
addIntersection(PlanetModel planetModel,
Plane plane1,
Plane plane2,
Membership... bounds)
Add the intersection between two planes to the bounds description.
|
Bounds |
addPlane(PlanetModel planetModel,
Plane plane,
Membership... bounds)
Add a general plane to the bounds description.
|
Bounds |
addPoint(GeoPoint point)
Add a single point.
|
Bounds |
addVerticalPlane(PlanetModel planetModel,
double longitude,
Plane verticalPlane,
Membership... bounds)
Add a vertical plane to the bounds description.
|
Bounds |
addXValue(double x)
Add a specific X value.
|
Bounds |
addXValue(GeoPoint point)
Add an X value.
|
Bounds |
addYValue(double y)
Add a specific Y value.
|
Bounds |
addYValue(GeoPoint point)
Add a Y value.
|
Bounds |
addZValue(double z)
Add a specific Z value.
|
Bounds |
addZValue(GeoPoint point)
Add a Z value.
|
Double |
getMaximumX()
Return the maximum X value.
|
Double |
getMaximumY()
Return the maximum Y value.
|
Double |
getMaximumZ()
Return the maximum Z value.
|
Double |
getMinimumX()
Return the minimum X value.
|
Double |
getMinimumY()
Return the minimum Y value.
|
Double |
getMinimumZ()
Return the minimum Z value.
|
boolean |
isLargestMaxX(PlanetModel planetModel)
Return true if maxX is as large as the planet model allows.
|
boolean |
isLargestMaxY(PlanetModel planetModel)
Return true if maxY is as large as the planet model allows.
|
boolean |
isLargestMaxZ(PlanetModel planetModel)
Return true if maxZ is as large as the planet model allows.
|
boolean |
isSmallestMinX(PlanetModel planetModel)
Return true if minX is as small as the planet model allows.
|
boolean |
isSmallestMinY(PlanetModel planetModel)
Return true if minY is as small as the planet model allows.
|
boolean |
isSmallestMinZ(PlanetModel planetModel)
Return true if minZ is as small as the planet model allows.
|
Bounds |
isWide()
Signal that the shape exceeds Math.PI in longitude.
|
Bounds |
noBottomLatitudeBound()
Signal that there is no bottom latitude bound.
|
Bounds |
noBound(PlanetModel planetModel)
Signal that there is no bound whatsoever.
|
Bounds |
noLongitudeBound()
Signal that there is no longitude bound.
|
Bounds |
noTopLatitudeBound()
Signal that there is no top latitude bound.
|
String |
toString() |
public Double getMinimumX()
public Double getMaximumX()
public Double getMinimumY()
public Double getMaximumY()
public Double getMinimumZ()
public Double getMaximumZ()
public boolean isSmallestMinX(PlanetModel planetModel)
public boolean isLargestMaxX(PlanetModel planetModel)
public boolean isSmallestMinY(PlanetModel planetModel)
public boolean isLargestMaxY(PlanetModel planetModel)
public boolean isSmallestMinZ(PlanetModel planetModel)
public boolean isLargestMaxZ(PlanetModel planetModel)
public Bounds addPlane(PlanetModel planetModel, Plane plane, Membership... bounds)
Boundspublic Bounds addHorizontalPlane(PlanetModel planetModel, double latitude, Plane horizontalPlane, Membership... bounds)
addHorizontalPlane in interface BoundsplanetModel - is the planet model.latitude - is the latitude.horizontalPlane - is the plane.bounds - are the constraints on the plane.public Bounds addVerticalPlane(PlanetModel planetModel, double longitude, Plane verticalPlane, Membership... bounds)
addVerticalPlane in interface BoundsplanetModel - is the planet model.longitude - is the longitude.verticalPlane - is the plane.bounds - are the constraints on the plane.public Bounds addXValue(GeoPoint point)
Boundspublic Bounds addXValue(double x)
x - is the value to add.public Bounds addYValue(GeoPoint point)
Boundspublic Bounds addYValue(double y)
y - is the value to add.public Bounds addZValue(GeoPoint point)
Boundspublic Bounds addZValue(double z)
z - is the value to add.public Bounds addIntersection(PlanetModel planetModel, Plane plane1, Plane plane2, Membership... bounds)
BoundsaddIntersection in interface BoundsplanetModel - is the planet model.plane1 - is the first plane.plane2 - is the second plane.bounds - are the membership bounds for the intersection.public Bounds addPoint(GeoPoint point)
Boundspublic Bounds isWide()
Boundspublic Bounds noLongitudeBound()
BoundsnoLongitudeBound in interface Boundspublic Bounds noTopLatitudeBound()
BoundsnoTopLatitudeBound in interface Boundspublic Bounds noBottomLatitudeBound()
BoundsnoBottomLatitudeBound in interface Boundspublic Bounds noBound(PlanetModel planetModel)
BoundsCopyright © 2000-2024 Apache Software Foundation. All Rights Reserved.