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

Public 成员函数

boolean Initialize (TopoShape s1, TopoShape s2, double tolS1, double tolS2)
 
int GetPointCount ()
 
ExtremaSurfacePointPair GetPoint (int idx)
 
double GetSquareDistance (int idx)
 
boolean IsParallel ()
 

详细描述

<>
计算两个曲面的最大、最小距离.

成员函数说明

◆ GetPoint()

ExtremaSurfacePointPair ExtremaSurfaceSurface.GetPoint ( int  idx)

获取极值点的信息

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

◆ GetPointCount()

int ExtremaSurfaceSurface.GetPointCount ( )

获取极值点的个数

返回
the count.

◆ GetSquareDistance()

double ExtremaSurfaceSurface.GetSquareDistance ( int  idx)

获取距离

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

◆ Initialize()

boolean ExtremaSurfaceSurface.Initialize ( TopoShape  s1,
TopoShape  s2,
double  tolS1,
double  tolS2 
)

初始化

参数
s1曲面1
s2曲面2
tolS1曲面1的误差
tolS2曲面2的误差
返回

◆ IsParallel()

boolean ExtremaSurfaceSurface.IsParallel ( )

判断是否平行

返回
true 如果平行