Module org.apache.lucene.spatial3d
Package org.apache.lucene.spatial3d.geom
Class GeoCompositeMembershipShape
- java.lang.Object
-
- org.apache.lucene.spatial3d.geom.BasePlanetObject
-
- org.apache.lucene.spatial3d.geom.GeoBaseCompositeShape<T>
-
- org.apache.lucene.spatial3d.geom.GeoBaseCompositeMembershipShape<GeoMembershipShape>
-
- org.apache.lucene.spatial3d.geom.GeoCompositeMembershipShape
-
- All Implemented Interfaces:
Bounded
,GeoBounds
,GeoMembershipShape
,GeoOutsideDistance
,GeoShape
,Membership
,PlanetObject
,SerializableObject
public class GeoCompositeMembershipShape extends GeoBaseCompositeMembershipShape<GeoMembershipShape>
GeoCompositeMembershipShape is a set of GeoMembershipShape's, treated as a unit.
-
-
Field Summary
-
Fields inherited from class org.apache.lucene.spatial3d.geom.GeoBaseCompositeShape
shapes
-
Fields inherited from class org.apache.lucene.spatial3d.geom.BasePlanetObject
planetModel
-
-
Constructor Summary
Constructors Constructor Description GeoCompositeMembershipShape(PlanetModel planetModel)
Constructor.GeoCompositeMembershipShape(PlanetModel planetModel, java.io.InputStream inputStream)
Constructor for deserialization.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(java.lang.Object o)
java.lang.String
toString()
-
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.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 Detail
-
GeoCompositeMembershipShape
public GeoCompositeMembershipShape(PlanetModel planetModel)
Constructor.
-
GeoCompositeMembershipShape
public GeoCompositeMembershipShape(PlanetModel planetModel, java.io.InputStream inputStream) throws java.io.IOException
Constructor for deserialization.- Parameters:
planetModel
- is the planet model.inputStream
- is the input stream.- Throws:
java.io.IOException
-
-
Method Detail
-
equals
public boolean equals(java.lang.Object o)
- Overrides:
equals
in classGeoBaseCompositeShape<GeoMembershipShape>
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
-