AnyCAD Rapid SDK  2020
The Rapid CAD SDK
Public Member Functions | Protected Member Functions | Static Protected Member Functions | Protected Attributes | List of all members
PlaneBoundedVolume Class Reference

Public Member Functions

synchronized void delete ()
 
void setPlanes (PlaneList value)
 
PlaneList getPlanes ()
 
void setOutside (Plane.Side value)
 
Plane.Side getOutside ()
 
 PlaneBoundedVolume (Plane.Side theOutside)
 
boolean intersects (AxisAlignedBox box)
 
boolean intersects (Sphere sphere)
 
RayIntersect intersects (Ray ray)
 

Protected Member Functions

 PlaneBoundedVolume (long cPtr, boolean cMemoryOwn)
 
void finalize ()
 

Static Protected Member Functions

static long getCPtr (PlaneBoundedVolume obj)
 

Protected Attributes

transient boolean swigCMemOwn
 

Constructor & Destructor Documentation

PlaneBoundedVolume.PlaneBoundedVolume ( Plane.Side  theOutside)

Constructor, determines which side is deemed to be 'outside'

Member Function Documentation

boolean PlaneBoundedVolume.intersects ( AxisAlignedBox  box)

Intersection test with AABB
Remarks: May return false positives but will never miss an intersection.

boolean PlaneBoundedVolume.intersects ( Sphere  sphere)

Intersection test with Sphere
Remarks: May return false positives but will never miss an intersection.

RayIntersect PlaneBoundedVolume.intersects ( Ray  ray)

Intersection test with a Ray

Returns
std::pair of hit (bool) and distance
Remarks: May return false positives but will never miss an intersection.