AnyCAD Rapid SDK
2020
The Rapid CAD SDK
|
Public Member Functions | |
synchronized void | delete () |
ShapeIntersector (TopoShape shape, double tolerance) | |
boolean | IsValid () |
boolean | Perform (GLin line, double smallestP, double highestP) |
boolean | Perform (TopoShape edge) |
int | GetPointCount () |
double | UParameter (int idx) |
double | VParameter (int idx) |
double | WParameter (int idx) |
GPnt | GetPoint (int idx) |
Protected Member Functions | |
ShapeIntersector (long cPtr, boolean cMemoryOwn) | |
void | finalize () |
Static Protected Member Functions | |
static long | getCPtr (ShapeIntersector obj) |
Protected Attributes | |
transient boolean | swigCMemOwn |
Intersection testing between face and shape.
GPnt ShapeIntersector.GetPoint | ( | int | idx | ) |
Returns the geometric point of the ith intersection between the line and the surface.
idx | the index, start from 0. |
int ShapeIntersector.GetPointCount | ( | ) |
Get the intersecting point number
boolean ShapeIntersector.Perform | ( | GLin | line, |
double | smallestP, | ||
double | highestP | ||
) |
Perform the intersection between the line and face.
line | segment. |
smallestP | is the smallest parameter on the line |
highestP | is the highest parmaeter on the line |
boolean ShapeIntersector.Perform | ( | TopoShape | edge | ) |
Perform the intersection between the ledgeine and face.
edge | the edge. |
double ShapeIntersector.UParameter | ( | int | idx | ) |
Returns the U parameter of the ith intersection point on the surface.
idx | the index, start from 0 |
double ShapeIntersector.VParameter | ( | int | idx | ) |
Returns the V parameter of the ith intersection point on the surface.
idx | the index, start from 0 |
double ShapeIntersector.WParameter | ( | int | idx | ) |
Returns the parameter of the ith intersection point on the line.
idx | the index, start from 0 |