Package org.apache.lucene.spatial3d.geom
Class GeoCompositePolygon
java.lang.Object
org.apache.lucene.spatial3d.geom.BasePlanetObject
org.apache.lucene.spatial3d.geom.GeoBaseCompositeShape<T>
org.apache.lucene.spatial3d.geom.GeoBaseCompositeMembershipShape<T>
org.apache.lucene.spatial3d.geom.GeoBaseCompositeAreaShape<GeoPolygon>
org.apache.lucene.spatial3d.geom.GeoCompositePolygon
- All Implemented Interfaces:
Bounded
,GeoArea
,GeoAreaShape
,GeoMembershipShape
,GeoOutsideDistance
,GeoPolygon
,GeoShape
,Membership
,PlanetObject
,SerializableObject
public class GeoCompositePolygon
extends GeoBaseCompositeAreaShape<GeoPolygon>
implements GeoPolygon
GeoCompositePolygon is a specific implementation of GeoCompositeAreaShape, which implements
GeoPolygon explicitly.
-
Field Summary
Fields inherited from class org.apache.lucene.spatial3d.geom.GeoBaseCompositeAreaShape
ALL_INSIDE, NONE_INSIDE, SOME_INSIDE
Fields inherited from class org.apache.lucene.spatial3d.geom.GeoBaseCompositeShape
shapes
Fields inherited from class org.apache.lucene.spatial3d.geom.BasePlanetObject
planetModel
-
Constructor Summary
ConstructorsConstructorDescriptionGeoCompositePolygon
(PlanetModel planetModel) Constructor.GeoCompositePolygon
(PlanetModel planetModel, InputStream inputStream) Constructor for deserialization. -
Method Summary
Methods inherited from class org.apache.lucene.spatial3d.geom.GeoBaseCompositeAreaShape
getRelationship, intersects, isGeoAreaShapeInsideShape, isShapeInsideGeoAreaShape
Methods inherited from class org.apache.lucene.spatial3d.geom.GeoBaseCompositeMembershipShape
computeOutsideDistance, computeOutsideDistance
Methods inherited from class org.apache.lucene.spatial3d.geom.GeoBaseCompositeShape
addShape, getBounds, getEdgePoints, getShape, getShapes, hashCode, intersects, isWithin, isWithin, size, write
Methods inherited from class org.apache.lucene.spatial3d.geom.BasePlanetObject
getPlanetModel
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
Methods inherited from interface org.apache.lucene.spatial3d.geom.GeoArea
getRelationship
Methods inherited from interface org.apache.lucene.spatial3d.geom.GeoAreaShape
intersects
Methods inherited from interface org.apache.lucene.spatial3d.geom.GeoOutsideDistance
computeOutsideDistance, computeOutsideDistance
Methods inherited from interface org.apache.lucene.spatial3d.geom.GeoShape
getEdgePoints, intersects
Methods inherited from interface org.apache.lucene.spatial3d.geom.Membership
isWithin, isWithin
Methods inherited from interface org.apache.lucene.spatial3d.geom.PlanetObject
getPlanetModel
Methods inherited from interface org.apache.lucene.spatial3d.geom.SerializableObject
write
-
Constructor Details
-
GeoCompositePolygon
Constructor. -
GeoCompositePolygon
Constructor for deserialization.- Parameters:
planetModel
- is the planet model.inputStream
- is the input stream.- Throws:
IOException
-
-
Method Details
-
equals
- Overrides:
equals
in classGeoBaseCompositeShape<GeoPolygon>
-
toString
-