AnyCAD Rapid API 2024
Help you to create a better world!
|
Public 成员函数 | |
double | GetTolerance () |
void | SetTolerance (double val) |
boolean | Initialize (TopoShape edge1, TopoShape edge2) |
boolean | InitializeByEdges (TopoShape edge1, TopoShape edge2) |
boolean | Initialize (GPnt2d pt, GVec2d dir, TopoShape curve) |
boolean | InitializeByRay (GPnt2d pt, GVec2d dir, TopoShape curve) |
boolean | Initialize (ParametricCurve2d c1, ParametricCurve2d c2) |
boolean | InitializeByCurves (ParametricCurve2d curve1, ParametricCurve2d curve2) |
GPnt2dList | GetPoints () |
int | GetPointCount () |
GPnt2d | GetPoint (int idx) |
double | GetParameter1 (int idx) |
double | GetParameter2 (int idx) |
<> Intersection testing between curve and curve.
double IntersectCurveCurve2d.GetParameter1 | ( | int | idx | ) |
获取在第一条线上的参数
idx | 索引 |
double IntersectCurveCurve2d.GetParameter2 | ( | int | idx | ) |
获取在第二条线上的参数
idx | 索引 |
GPnt2d IntersectCurveCurve2d.GetPoint | ( | int | idx | ) |
int IntersectCurveCurve2d.GetPointCount | ( | ) |
获取个数
GPnt2dList IntersectCurveCurve2d.GetPoints | ( | ) |
获取所有的相交点
二维直线与任意二维曲线相交
pt | 直线端点 |
dir | 直线方向 |
curve | 曲线shape |
boolean IntersectCurveCurve2d.Initialize | ( | ParametricCurve2d | c1, |
ParametricCurve2d | c2 ) |
使用二维的曲线初始化
c1 | 曲线1 |
c2 | 曲线2 |