Package org.apache.lucene.spatial3d.geom
Interface Membership
-
- All Known Subinterfaces:
GeoArea
,GeoAreaShape
,GeoBBox
,GeoCircle
,GeoDistance
,GeoDistanceShape
,GeoMembershipShape
,GeoOutsideDistance
,GeoPath
,GeoPointShape
,GeoPolygon
,GeoShape
,XYZSolid
- All Known Implementing Classes:
BaseXYZSolid
,dXdYdZSolid
,dXdYZSolid
,dXYdZSolid
,dXYZSolid
,GeoBaseAreaShape
,GeoBaseBBox
,GeoBaseCircle
,GeoBaseCompositeAreaShape
,GeoBaseCompositeMembershipShape
,GeoBaseCompositeShape
,GeoBaseDistanceShape
,GeoBaseMembershipShape
,GeoBasePath
,GeoBasePolygon
,GeoBaseShape
,GeoComplexPolygon
,GeoCompositeAreaShape
,GeoCompositeMembershipShape
,GeoCompositePolygon
,GeoConcavePolygon
,GeoConcavePolygon.EitherBound
,GeoConvexPolygon
,GeoConvexPolygon.EitherBound
,GeoDegenerateHorizontalLine
,GeoDegenerateLatitudeZone
,GeoDegenerateLongitudeSlice
,GeoDegeneratePath
,GeoDegeneratePoint
,GeoDegenerateVerticalLine
,GeoExactCircle
,GeoLatitudeZone
,GeoLongitudeSlice
,GeoNorthLatitudeZone
,GeoNorthRectangle
,GeoRectangle
,GeoS2Shape
,GeoSouthLatitudeZone
,GeoSouthRectangle
,GeoStandardCircle
,GeoStandardPath
,GeoWideDegenerateHorizontalLine
,GeoWideDegenerateHorizontalLine.EitherBound
,GeoWideLongitudeSlice
,GeoWideNorthRectangle
,GeoWideNorthRectangle.EitherBound
,GeoWideRectangle
,GeoWideRectangle.EitherBound
,GeoWideSouthRectangle
,GeoWideSouthRectangle.EitherBound
,GeoWorld
,SidedPlane
,StandardXYZSolid
,XdYdZSolid
,XdYZSolid
,XYdZSolid
public interface Membership
Implemented by Geo3D shapes that can calculate if a point is within it or not.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description boolean
isWithin(double x, double y, double z)
Check if a point is within this shape.default boolean
isWithin(Vector point)
Check if a point is within this shape.
-
-
-
Method Detail
-
isWithin
default boolean isWithin(Vector point)
Check if a point is within this shape.- Parameters:
point
- is the point to check.- Returns:
- true if the point is within this shape
-
isWithin
boolean isWithin(double x, double y, double z)
Check if a point is within this shape.- Parameters:
x
- is x coordinate of point to check.y
- is y coordinate of point to check.z
- is z coordinate of point to check.- Returns:
- true if the point is within this shape
-
-