AnyCAD Rapid API 2024
Help you to create a better world!
|
Public 成员函数 | |
boolean | Initialize (TopoShape edge, TopoShape face) |
int | GetPointCount () |
boolean | IsParallel () |
double | GetSquareDistance (int idx) |
GPnt | GetPointOnEdge (int idx) |
GPnt | GetPointOnFace (int idx) |
double | GetParameterOnEdge (int idx) |
GXY | GetParameterOnFace (int idx) |
<>
计算曲线和曲面之间的最大和最小距离.
double ExtremaCurveSurface.GetParameterOnEdge | ( | int | idx | ) |
Get parameter on edge by index
idx | the index. start from 0. |
GXY ExtremaCurveSurface.GetParameterOnFace | ( | int | idx | ) |
Get parameter on face by index
idx | the index. start from 0. |
int ExtremaCurveSurface.GetPointCount | ( | ) |
Get the extrema point count
GPnt ExtremaCurveSurface.GetPointOnEdge | ( | int | idx | ) |
Get the point by index
idx | the index. start from 0. |
GPnt ExtremaCurveSurface.GetPointOnFace | ( | int | idx | ) |
Get the point by index
idx | the index. start from 0. |
double ExtremaCurveSurface.GetSquareDistance | ( | int | idx | ) |
Get the square distance of the solution index
idx | the index. |
初始化
edge | 曲线 |
face | 曲面 |
boolean ExtremaCurveSurface.IsParallel | ( | ) |
if the curve is on a parallel surface