public class StandardXYZSolid extends BaseXYZSolid
| Modifier and Type | Field and Description |
|---|---|
protected GeoPoint[] |
edgePoints
These are the edge points of the shape, which are defined to be at least one point on
each surface area boundary.
|
protected boolean |
isWholeWorld
Whole world?
|
protected SidedPlane |
maxXPlane
Max-X plane
|
protected SidedPlane |
maxYPlane
Max-Y plane
|
protected SidedPlane |
maxZPlane
Max-Z plane
|
protected SidedPlane |
minXPlane
Min-X plane
|
protected SidedPlane |
minYPlane
Min-Y plane
|
protected SidedPlane |
minZPlane
Min-Z plane
|
protected GeoPoint[] |
notableMaxXPoints
Notable points for maxXPlane
|
protected GeoPoint[] |
notableMaxYPoints
Notable points for maxYPlane
|
protected GeoPoint[] |
notableMaxZPoints
Notable points for maxZPlane
|
protected GeoPoint[] |
notableMinXPoints
Notable points for minXPlane
|
protected GeoPoint[] |
notableMinYPoints
Notable points for minYPlane
|
protected GeoPoint[] |
notableMinZPoints
Notable points for minZPlane
|
ALL_INSIDE, EMPTY_POINTS, NO_EDGEPOINTS, NONE_INSIDE, SOME_INSIDE, xUnitVector, xVerticalPlane, yUnitVector, yVerticalPlane, zUnitVectorplanetModel| Constructor and Description |
|---|
StandardXYZSolid(PlanetModel planetModel,
double minX,
double maxX,
double minY,
double maxY,
double minZ,
double maxZ)
Sole constructor
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object o) |
protected GeoPoint[] |
getEdgePoints()
Get the edge points for this shape.
|
int |
getRelationship(GeoShape path)
Find the spatial relationship between a shape and the current geo area.
|
int |
hashCode() |
boolean |
isWithin(double x,
double y,
double z)
Check if a point is within this shape.
|
String |
toString() |
glueTogether, isAreaInsideShape, isShapeInsideArea, isWithinprotected final boolean isWholeWorld
protected final SidedPlane minXPlane
protected final SidedPlane maxXPlane
protected final SidedPlane minYPlane
protected final SidedPlane maxYPlane
protected final SidedPlane minZPlane
protected final SidedPlane maxZPlane
protected final GeoPoint[] edgePoints
protected final GeoPoint[] notableMinXPoints
protected final GeoPoint[] notableMaxXPoints
protected final GeoPoint[] notableMinYPoints
protected final GeoPoint[] notableMaxYPoints
protected final GeoPoint[] notableMinZPoints
protected final GeoPoint[] notableMaxZPoints
public StandardXYZSolid(PlanetModel planetModel, double minX, double maxX, double minY, double maxY, double minZ, double maxZ)
planetModel - is the planet model.minX - is the minimum X value.maxX - is the maximum X value.minY - is the minimum Y value.maxY - is the maximum Y value.minZ - is the minimum Z value.maxZ - is the maximum Z value.protected GeoPoint[] getEdgePoints()
BaseXYZSolidgetEdgePoints in class BaseXYZSolidpublic boolean isWithin(double x,
double y,
double z)
MembershipisWithin in interface MembershipisWithin in class BaseXYZSolidx - is x coordinate of point to check.y - is y coordinate of point to check.z - is z coordinate of point to check.public int getRelationship(GeoShape path)
GeoAreapath - is the shape to consider.public boolean equals(Object o)
equals in class BaseXYZSolidpublic int hashCode()
hashCode in class BaseXYZSolidCopyright © 2000-2015 Apache Software Foundation. All Rights Reserved.