public class GeoCompositeMembershipShape extends GeoBaseCompositeShape<T> implements GeoMembershipShape
shapes
planetModel
Constructor and Description |
---|
GeoCompositeMembershipShape(PlanetModel planetModel)
Constructor.
|
GeoCompositeMembershipShape(PlanetModel planetModel,
InputStream inputStream)
Constructor for deserialization.
|
Modifier and Type | Method and Description |
---|---|
double |
computeOutsideDistance(DistanceStyle distanceStyle,
double x,
double y,
double z)
Compute this shape's distance to the GeoPoint.
|
double |
computeOutsideDistance(DistanceStyle distanceStyle,
GeoPoint point)
Compute this shape's distance to the GeoPoint.
|
boolean |
equals(Object o) |
String |
toString() |
addShape, getBounds, getEdgePoints, getShape, hashCode, intersects, isWithin, isWithin, size, write
getPlanetModel
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
getEdgePoints, intersects
getPlanetModel
readBitSet, readBoolean, readByteArray, readClass, readDouble, readHeterogeneousArray, readHomogeneousArray, readInt, readLong, readObject, readObject, readObject, readObject, readPlanetObject, readPointArray, readPolygonArray, readString, write, writeBitSet, writeBoolean, writeByteArray, writeClass, writeDouble, writeHeterogeneousArray, writeHeterogeneousArray, writeHomogeneousArray, writeHomogeneousArray, writeInt, writeLong, writeObject, writePlanetObject, writePointArray, writePointArray, writePolygonArray, writePolygonArray, writeString
computeOutsideDistance, computeOutsideDistance
isWithin, isWithin
public GeoCompositeMembershipShape(PlanetModel planetModel)
public GeoCompositeMembershipShape(PlanetModel planetModel, InputStream inputStream) throws IOException
planetModel
- is the planet model.inputStream
- is the input stream.IOException
public boolean equals(Object o)
equals
in class GeoBaseCompositeShape<GeoMembershipShape>
public double computeOutsideDistance(DistanceStyle distanceStyle, GeoPoint point)
GeoOutsideDistance
computeOutsideDistance
in interface GeoOutsideDistance
distanceStyle
- is the distance style.point
- is the point to compute the distance to.public double computeOutsideDistance(DistanceStyle distanceStyle, double x, double y, double z)
GeoOutsideDistance
computeOutsideDistance
in interface GeoOutsideDistance
distanceStyle
- is the distance style.x
- is the point's unit x coordinate (using U.S. convention).y
- is the point's unit y coordinate (using U.S. convention).z
- is the point's unit z coordinate (using U.S. convention).Copyright © 2000-2021 Apache Software Foundation. All Rights Reserved.