org.apache.lucene.spatial3d.geom

## Interface Membership

- All Known Subinterfaces:
    GeoArea, GeoBBox, GeoCircle, GeoDistance, GeoDistanceShape, GeoMembershipShape, GeoOutsideDistance, GeoPath, GeoPolygon, GeoShape, XYZSolid
  All Known Implementing Classes:
    GeoBaseDistanceShape, GeoBaseMembershipShape, GeoBaseShape, GeoCompositeMembershipShape, GeoCompositePolygon, GeoDegenerateVerticalLine, SidedPlane

      public interface Membership

  Implemented by Geo3D shapes that can calculate if a point is within it or not.
  WARNING: This API is experimental and might change in incompatible ways in the next release.

- - ### Method Summary

    All Methods Instance Methods Abstract Methods Default Methods
    Modifier and Type | Method and 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

Copyright © 2000-2019 Apache Software Foundation. All Rights Reserved.