Package toxi.geom

Interface Shape3D

All Known Implementing Classes:
AABB, AxisAlignedCylinder, Plane, PointOctree, Sphere, Triangle3D, XAxisCylinder, YAxisCylinder, ZAxisCylinder

public interface Shape3D
Interface description of common operations supported by 3D geometry types.
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    Checks if the point is within the given shape/volume.
  • Method Details

    • containsPoint

      boolean containsPoint(ReadonlyVec3D p)
      Checks if the point is within the given shape/volume.
      Returns:
      true, if inside