AnyCAD Rapid API 2023
Help you to create a better world!
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