AnyCAD Rapid API 2023
Help you to create a better world!
|
Public 成员函数 | |
FaceIntersector (TopoShape face, double tolerance) | |
boolean | IsValid () |
boolean | Perform (GLin line, double smallestP, double highestP) |
boolean | Perform (TopoShape edge) |
boolean | IsParallel () |
int | GetPointCount () |
double | UParameter (int idx) |
double | VParameter (int idx) |
double | WParameter (int idx) |
GPnt | GetPoint (int idx) |
静态 Public 成员函数 | |
static GPntList | Instersect (TopoShape face, TopoShape edge) |
<>
Intersection testing between face and curve.
GPnt FaceIntersector.GetPoint | ( | int | idx | ) |
Returns the geometric point of the ith intersection between the line and the surface.
idx | the index, start from 0. |
int FaceIntersector.GetPointCount | ( | ) |
Get the intersecting point number
boolean FaceIntersector.IsParallel | ( | ) |
Test if curve is parallel or belongs face surface
boolean FaceIntersector.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 FaceIntersector.Perform | ( | TopoShape | edge | ) |
Perform the intersection between the ledgeine and face.
edge | the edge. |
double FaceIntersector.UParameter | ( | int | idx | ) |
Returns the U parameter of the ith intersection point on the surface.
idx | the index, start from 0 |
double FaceIntersector.VParameter | ( | int | idx | ) |
Returns the V parameter of the ith intersection point on the surface.
idx | the index, start from 0 |
double FaceIntersector.WParameter | ( | int | idx | ) |
Returns the parameter of the ith intersection point on the line.
idx | the index, start from 0 |