public class GeoSouthLatitudeZone extends GeoBaseBBox
| Modifier and Type | Field and Description |
|---|---|
protected double |
cosTopLat
The cosine of the top latitude of the zone
|
protected GeoPoint[] |
edgePoints
Edge points; a reference to the topBoundaryPoint
|
protected GeoPoint |
interiorPoint
An interior point of the zone
|
protected static GeoPoint[] |
planePoints
Notable points for the plane (none)
|
protected GeoPoint |
topBoundaryPoint
A point on the top boundary
|
protected double |
topLat
The top latitude of the zone
|
protected SidedPlane |
topPlane
The top plane of the zone
|
ALL_INSIDE, NONE_INSIDE, SOME_INSIDEplanetModel| Constructor and Description |
|---|
GeoSouthLatitudeZone(PlanetModel planetModel,
double topLat)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object o) |
GeoBBox |
expand(double angle)
Expand box by specified angle.
|
void |
getBounds(Bounds bounds)
Compute bounds for the shape.
|
GeoPoint |
getCenter()
Returns the center of a circle into which the area will be inscribed.
|
GeoPoint[] |
getEdgePoints()
Return a sample point that is on the outside edge/boundary of the shape.
|
double |
getRadius()
Returns the radius of a circle into which the GeoSizeable area can
be inscribed.
|
int |
getRelationship(GeoShape path)
Find the spatial relationship between a shape and the current geo area.
|
int |
hashCode() |
boolean |
intersects(Plane p,
GeoPoint[] notablePoints,
Membership... bounds)
Assess whether a plane, within the provided bounds, intersects
with the shape.
|
boolean |
isWithin(double x,
double y,
double z)
Check if a point is within this shape.
|
protected double |
outsideDistance(DistanceStyle distanceStyle,
double x,
double y,
double z)
Called by a
computeOutsideDistance method if X/Y/Z is not within this shape. |
String |
toString() |
isShapeInsideBBoxcomputeOutsideDistance, computeOutsideDistance, isWithinclone, finalize, getClass, notify, notifyAll, wait, wait, waitcomputeOutsideDistance, computeOutsideDistanceisWithinprotected final double topLat
protected final double cosTopLat
protected final SidedPlane topPlane
protected final GeoPoint interiorPoint
protected static final GeoPoint[] planePoints
protected final GeoPoint topBoundaryPoint
protected final GeoPoint[] edgePoints
public GeoSouthLatitudeZone(PlanetModel planetModel, double topLat)
planetModel - is the planet model.topLat - is the top latitude of the zone.public GeoBBox expand(double angle)
GeoBBoxangle - is the angle amount to expand the GeoBBox by.public boolean isWithin(double x,
double y,
double z)
Membershipx - is x coordinate of point to check.y - is y coordinate of point to check.z - is z coordinate of point to check.public double getRadius()
GeoSizeablepublic GeoPoint getCenter()
public GeoPoint[] getEdgePoints()
GeoShapepublic boolean intersects(Plane p, GeoPoint[] notablePoints, Membership... bounds)
GeoShapep - is the plane to assess for intersection with the shape's edges or
bounding curves.notablePoints - represents the intersections of the plane with the supplied
bounds. These are used to disambiguate when two planes are identical and it needs
to be determined whether any points exist that fulfill all the bounds.bounds - are a set of bounds that define an area that an
intersection must be within in order to qualify (provided by a GeoArea).public void getBounds(Bounds bounds)
GeoShapegetBounds in interface GeoShapegetBounds in class GeoBaseShapebounds - is the input bounds object.
The input object will be modified.public int getRelationship(GeoShape path)
GeoAreapath - is the shape to consider.protected double outsideDistance(DistanceStyle distanceStyle, double x, double y, double z)
GeoBaseMembershipShapecomputeOutsideDistance method if X/Y/Z is not within this shape.outsideDistance in class GeoBaseMembershipShapepublic boolean equals(Object o)
equals in class BasePlanetObjectpublic int hashCode()
hashCode in class BasePlanetObjectCopyright © 2000-2015 Apache Software Foundation. All Rights Reserved.