Interface Membership

All Known Subinterfaces:
GeoArea, GeoAreaShape, GeoBBox, GeoBounds, GeoCircle, GeoDistance, GeoDistanceShape, GeoMembershipShape, GeoOutsideDistance, GeoPath, GeoPointShape, GeoPolygon, GeoShape, XYZSolid
All Known Implementing Classes:
BaseXYZSolid, dXdYdZSolid, dXdYZSolid, dXYdZSolid, dXYZSolid, GeoBaseAreaShape, GeoBaseBBox, GeoBaseBounds, GeoBaseCircle, GeoBaseCompositeAreaShape, GeoBaseCompositeMembershipShape, GeoBaseCompositeShape, GeoBaseDistanceShape, GeoBaseMembershipShape, GeoBasePath, GeoBasePolygon, GeoBaseShape, GeoComplexPolygon, GeoCompositeAreaShape, GeoCompositeMembershipShape, GeoCompositePolygon, GeoConcavePolygon, GeoConvexPolygon, GeoDegenerateHorizontalLine, GeoDegenerateLatitudeZone, GeoDegenerateLongitudeSlice, GeoDegeneratePath, GeoDegeneratePath.PathSegment, GeoDegeneratePath.SegmentEndpoint, GeoDegeneratePoint, GeoDegenerateVerticalLine, GeoExactCircle, GeoLatitudeZone, GeoLongitudeSlice, GeoNorthLatitudeZone, GeoNorthRectangle, GeoRectangle, GeoS2Shape, GeoSouthLatitudeZone, GeoSouthRectangle, GeoStandardCircle, GeoStandardPath, GeoStandardPath.BaseSegmentEndpoint, GeoStandardPath.CircleSegmentEndpoint, GeoStandardPath.CutoffDualCircleSegmentEndpoint, GeoStandardPath.CutoffSingleCircleSegmentEndpoint, GeoStandardPath.PathSegment, 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

    Modifier and Type
    Method
    Description
    boolean
    isWithin(double x, double y, double z)
    Check if a point is within this shape.
    default boolean
    Check if a point is within this shape.
  • Method Details

    • 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