Module org.apache.lucene.spatial3d
Package org.apache.lucene.spatial3d.geom
Class GeoWideSouthRectangle.EitherBound
- java.lang.Object
-
- org.apache.lucene.spatial3d.geom.GeoWideSouthRectangle.EitherBound
-
- All Implemented Interfaces:
Membership
- Enclosing class:
- GeoWideSouthRectangle
protected class GeoWideSouthRectangle.EitherBound extends java.lang.Object implements Membership
Membership implementation representing width more than 180.
-
-
Constructor Summary
Constructors Constructor Description EitherBound()
Constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
isWithin(double x, double y, double z)
Check if a point is within this shape.boolean
isWithin(Vector v)
Check if a point is within this shape.
-
-
-
Method Detail
-
isWithin
public boolean isWithin(Vector v)
Description copied from interface:Membership
Check if a point is within this shape.- Specified by:
isWithin
in interfaceMembership
- Parameters:
v
- is the point to check.- Returns:
- true if the point is within this shape
-
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
-
-