|
AnyCAD Rapid API 2025
Help you to create a better world!
|
Public 成员函数 | |
| boolean | Initialize (TopoShape edge1, TopoShape edge2) |
| boolean | Initialize (GLin line1, GLin line2) |
| boolean | Initialize (ParametricCurve c1, ParametricCurve c2) |
| boolean | InitializeByLines (GLin line1, GLin line2) |
| boolean | InitializeByCurves (ParametricCurve c1, ParametricCurve c2) |
| boolean | InitializeByEdges (TopoShape edge1, TopoShape edge2) |
| int | GetPointCount () |
| GPnt | GetPoint1 (int idx) |
| GPnt | GetPoint2 (int idx) |
| double | GetParameter1 (int idx) |
| double | GetParameter2 (int idx) |
| double | GetSquareDistance (int idx) |
| boolean | IsParallel () |
| int | GetIntersectedCount (double dist2Tol) |
| int | GetIntersectedCount () |
<>
计算曲线之间的最大最小距离.
| int ExtremaCurveCurve.GetIntersectedCount | ( | ) |
获取交点个数
| int ExtremaCurveCurve.GetIntersectedCount | ( | double | dist2Tol | ) |
获取交点个数
| dist2Tol | 用于判断是否相交的容差值 |
| double ExtremaCurveCurve.GetParameter1 | ( | int | idx | ) |
Get parameter by index
| idx | the index. start from 0. |
| GPnt ExtremaCurveCurve.GetPoint1 | ( | int | idx | ) |
Get the point by index
| idx | the index. start from 0. |
| int ExtremaCurveCurve.GetPointCount | ( | ) |
获取极值的个数
| double ExtremaCurveCurve.GetSquareDistance | ( | int | idx | ) |
Get the square distance by index
| idx | the index. start from 0. |
| boolean ExtremaCurveCurve.Initialize | ( | ParametricCurve | c1, |
| ParametricCurve | c2 ) |
使用曲线初始化
| c1 | 曲线1 |
| c2 | 曲线2 |
初始化
| edge1 | 曲线1 |
| edge2 | 曲线2 |
| boolean ExtremaCurveCurve.IsParallel | ( | ) |
是否平行