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

Public Member Functions

synchronized void delete ()
 

Static Public Member Functions

static EnumCollisionState FacePoint (TopoShape face, GPnt point, double tol)
 
static EnumCollisionState SolidPoint (TopoShape shape, GPnt point, double tol)
 

Protected Member Functions

 CollisionDetector (long cPtr, boolean cMemoryOwn)
 

Static Protected Member Functions

static long getCPtr (CollisionDetector obj)
 

Protected Attributes

transient boolean swigCMemOwn
 

Detailed Description


Intersection testing for shapes.

Member Function Documentation

static EnumCollisionState CollisionDetector.FacePoint ( TopoShape  face,
GPnt  point,
double  tol 
)
static

get the position relation between face and point.

Parameters
facethe face.
pointthe point.
tolthe tolerance
Returns
the state by EnumShapeState
static EnumCollisionState CollisionDetector.SolidPoint ( TopoShape  shape,
GPnt  point,
double  tol 
)
static

get the position relation between solid and point.

Parameters
shapethe solid.
pointthe point.
tolthe tolerance
Returns
the state by EnumShapeState