AnyCAD Rapid API 2023
Help you to create a better world!
|
Public 成员函数 | |
boolean | Initialize (TopoShape surface, GPnt pt, EnumExtremaType type) |
boolean | Initialize (TopoShape surface, GPnt pt) |
boolean | Initialize (TopoShape surface, TopoShape pt, EnumExtremaType type) |
boolean | Initialize (TopoShape surface, TopoShape pt) |
int | GetPointCount () |
GPnt | GetPoint (int idx) |
GXY | GetParameter (int idx) |
double | GetSquareDistance (int idx) |
<>
计算点与曲面的最大、最远距离.
GXY ExtremaPointSurface.GetParameter | ( | int | idx | ) |
Get parameter by index
idx | the index. start from 0. |
GPnt ExtremaPointSurface.GetPoint | ( | int | idx | ) |
Get the point by index
idx | the index. start from 0. |
int ExtremaPointSurface.GetPointCount | ( | ) |
Get the extrema point count
double ExtremaPointSurface.GetSquareDistance | ( | int | idx | ) |
Get the square distance by index
idx | the index. start from 0. |
boolean ExtremaPointSurface.Initialize | ( | TopoShape | surface, |
GPnt | pt, | ||
EnumExtremaType | type | ||
) |
初始化
surface | 曲面 |
pt | 点位置 |
type | 极值的类型 |