Constructor and Description |
---|
LatLonBounds()
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(GeoPoint point)
Add an X value.
|
Bounds |
addYValue(GeoPoint point)
Add a Y value.
|
Bounds |
addZValue(GeoPoint point)
Add a Z value.
|
boolean |
checkNoBottomLatitudeBound()
Check if there's no bottom latitude bound.
|
boolean |
checkNoLongitudeBound()
Check if there's no longitude bound.
|
boolean |
checkNoTopLatitudeBound()
Check if there's no top latitude bound.
|
Double |
getLeftLongitude()
Get left longitude, if any.
|
Double |
getMaxLatitude()
Get maximum latitude, if any.
|
Double |
getMinLatitude()
Get minimum latitude, if any.
|
Double |
getRightLongitude()
Get right longitude, if any.
|
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.
|
public Double getMaxLatitude()
public Double getMinLatitude()
public Double getLeftLongitude()
public Double getRightLongitude()
public boolean checkNoLongitudeBound()
public boolean checkNoTopLatitudeBound()
public boolean checkNoBottomLatitudeBound()
public Bounds addPlane(PlanetModel planetModel, Plane plane, Membership... bounds)
Bounds
public Bounds addHorizontalPlane(PlanetModel planetModel, double latitude, Plane horizontalPlane, Membership... bounds)
Bounds
addHorizontalPlane
in interface Bounds
planetModel
- 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)
Bounds
addVerticalPlane
in interface Bounds
planetModel
- is the planet model.longitude
- is the longitude.verticalPlane
- is the plane.bounds
- are the constraints on the plane.public Bounds isWide()
Bounds
public Bounds addXValue(GeoPoint point)
Bounds
public Bounds addYValue(GeoPoint point)
Bounds
public Bounds addZValue(GeoPoint point)
Bounds
public Bounds addIntersection(PlanetModel planetModel, Plane plane1, Plane plane2, Membership... bounds)
Bounds
addIntersection
in interface Bounds
planetModel
- 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)
Bounds
public Bounds noLongitudeBound()
Bounds
noLongitudeBound
in interface Bounds
public Bounds noTopLatitudeBound()
Bounds
noTopLatitudeBound
in interface Bounds
public Bounds noBottomLatitudeBound()
Bounds
noBottomLatitudeBound
in interface Bounds
public Bounds noBound(PlanetModel planetModel)
Bounds
Copyright © 2000-2021 Apache Software Foundation. All Rights Reserved.