AnyCAD Rapid API 2023
Help you to create a better world!
载入中...
搜索中...
未找到
ExtremaCurveCurve类 参考

Public 成员函数

boolean Initialize (TopoShape curve1, TopoShape curve2)
 
int GetPointCount ()
 
GPnt GetPoint1 (int idx)
 
GPnt GetPoint2 (int idx)
 
double GetParameter1 (int idx)
 
double GetParameter2 (int idx)
 
double GetSquareDistance (int idx)
 
boolean IsParallel ()
 

详细描述

<>
计算曲线之间的最大最小距离.

成员函数说明

◆ GetParameter1()

double ExtremaCurveCurve.GetParameter1 ( int  idx)

Get parameter by index

参数
idxthe index. start from 0.
返回
the parameter.

◆ GetPoint1()

GPnt ExtremaCurveCurve.GetPoint1 ( int  idx)

Get the point by index

参数
idxthe index. start from 0.
返回
the Point.

◆ GetPointCount()

int ExtremaCurveCurve.GetPointCount ( )

Get the extrema point count

返回
the count.

◆ GetSquareDistance()

double ExtremaCurveCurve.GetSquareDistance ( int  idx)

Get the square distance by index

参数
idxthe index. start from 0.
返回
the squre distance.

◆ Initialize()

boolean ExtremaCurveCurve.Initialize ( TopoShape  curve1,
TopoShape  curve2 
)

初始化

参数
curve1曲线1
curve2曲线2
返回
是否成功

◆ IsParallel()

boolean ExtremaCurveCurve.IsParallel ( )

是否平行

返回
true 如果平行