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

Static Public Member Functions

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

Detailed Description

<>
Intersection testing for shapes.

Member Function Documentation

◆ FacePoint()

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

◆ SolidPoint()

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