Module org.apache.lucene.spatial3d
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
Membership implementation representing a wide cutoff (more than 180 degrees).
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionboolean
isWithin
(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
-
Constructor Details
-
EitherBound
public EitherBound()Constructor.
-
-
Method Details
-
isWithin
public boolean isWithin(double x, double y, double z) Description copied from interface:Membership
Check if a point is within this shape.- Specified by:
isWithin
in 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
-