AnyCAD Rapid API 2024
Help you to create a better world!
|
Public 成员函数 | |
boolean | Initialize (TopoShape edge, GPnt pt) |
boolean | InitializeByPoint (TopoShape edge, GPnt pt) |
boolean | Initialize (TopoShape edge, TopoShape pt) |
boolean | InitializeByVertex (TopoShape edge, TopoShape pt) |
int | GetPointCount () |
boolean | IsMin (int idx) |
GPnt | GetPoint (int idx) |
double | GetParameter (int idx) |
double | GetSquareDistance (int idx) |
double | GetMinimumSquareDistance () |
GPnt | GetMinimumDistancePoint () |
double | GetMinimumDistanceParameter () |
<>
计算点与曲线的最大和最小距离.
double ExtremaPointCurve.GetMinimumDistanceParameter | ( | ) |
get the neasrest point's parameter
GPnt ExtremaPointCurve.GetMinimumDistancePoint | ( | ) |
Get the neasrest point
double ExtremaPointCurve.GetMinimumSquareDistance | ( | ) |
Get the minimum square distance
double ExtremaPointCurve.GetParameter | ( | int | idx | ) |
Get parameter by index
idx | the index. start from 0. |
GPnt ExtremaPointCurve.GetPoint | ( | int | idx | ) |
Get the point by index
idx | the index. start from 0. |
int ExtremaPointCurve.GetPointCount | ( | ) |
Get the extrema point count
double ExtremaPointCurve.GetSquareDistance | ( | int | idx | ) |
Get the square distance by index
idx | the index. start from 0. |
boolean ExtremaPointCurve.IsMin | ( | int | idx | ) |
idx extremum distance is a minimum
idx | the index |