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

Public 成员函数

boolean Initialize (TopoShape surface, GPnt pt, EnumExtremaType type)
 
boolean Initialize (TopoShape surface, GPnt pt)
 
boolean Initialize (TopoShape surface, TopoShape pt, EnumExtremaType type)
 
boolean Initialize (TopoShape surface, TopoShape pt)
 
int GetPointCount ()
 
GPnt GetPoint (int idx)
 
GXY GetParameter (int idx)
 
double GetSquareDistance (int idx)
 

详细描述

<>
计算点与曲面的最大、最远距离.

成员函数说明

◆ GetParameter()

GXY ExtremaPointSurface.GetParameter ( int  idx)

Get parameter by index

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

◆ GetPoint()

GPnt ExtremaPointSurface.GetPoint ( int  idx)

Get the point by index

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

◆ GetPointCount()

int ExtremaPointSurface.GetPointCount ( )

Get the extrema point count

返回
the count.

◆ GetSquareDistance()

double ExtremaPointSurface.GetSquareDistance ( int  idx)

Get the square distance by index

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

◆ Initialize() [1/2]

boolean ExtremaPointSurface.Initialize ( TopoShape  surface,
GPnt  pt 
)

初始化

参数
surface曲面
pt点位置

返回
是否成功

◆ Initialize() [2/2]

boolean ExtremaPointSurface.Initialize ( TopoShape  surface,
GPnt  pt,
EnumExtremaType  type 
)

初始化

参数
surface曲面
pt点位置
type极值的类型
返回
是否成功