Package org.apache.lucene.spatial3d.geom
Class GeoWideDegenerateHorizontalLine.EitherBound
- java.lang.Object
-
- org.apache.lucene.spatial3d.geom.GeoWideDegenerateHorizontalLine.EitherBound
-
- All Implemented Interfaces:
Membership
- Enclosing class:
- GeoWideDegenerateHorizontalLine
protected class GeoWideDegenerateHorizontalLine.EitherBound extends java.lang.Object implements Membership
Membership implementation representing a wide cutoff (more than 180 degrees).
-
-
Constructor Summary
Constructors Constructor Description EitherBound()Constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanisWithin(double x, double y, double z)Check if a point is within this shape.-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.apache.lucene.spatial3d.geom.Membership
isWithin
-
-
-
-
Method Detail
-
isWithin
public boolean isWithin(double x, double y, double z)Description copied from interface:MembershipCheck if a point is within this shape.- Specified by:
isWithinin interfaceMembership- 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
-
-