public class dXdYdZSolid 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 |
isOnSurface
On surface?
|
protected static GeoPoint[] |
nullPoints
Empty array of
GeoPoint . |
protected GeoPoint |
thePoint
The point
|
ALL_INSIDE, EMPTY_POINTS, NO_EDGEPOINTS, NONE_INSIDE, SOME_INSIDE, xUnitVector, xVerticalPlane, yUnitVector, yVerticalPlane, zUnitVector
planetModel
Constructor and Description |
---|
dXdYdZSolid(PlanetModel planetModel,
double X,
double Y,
double Z)
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, isWithin
protected final boolean isOnSurface
protected final GeoPoint thePoint
protected final GeoPoint[] edgePoints
public dXdYdZSolid(PlanetModel planetModel, double X, double Y, double Z)
planetModel
- is the planet model.X
- is the X value.Y
- is the Y value.Z
- is the Z value.protected GeoPoint[] getEdgePoints()
BaseXYZSolid
getEdgePoints
in class BaseXYZSolid
public boolean isWithin(double x, double y, double z)
Membership
isWithin
in interface Membership
isWithin
in class BaseXYZSolid
x
- 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)
GeoArea
path
- is the shape to consider.public boolean equals(Object o)
equals
in class BaseXYZSolid
public int hashCode()
hashCode
in class BaseXYZSolid
Copyright © 2000-2016 Apache Software Foundation. All Rights Reserved.