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

Public 成员函数

boolean Initialize (TopoShape surface, GPnt pt, EnumExtremaType type)
 
boolean Initialize (TopoShape surface, GPnt pt)
 
boolean InitializeByPoint (TopoShape surface, TopoShape pt, EnumExtremaType type)
 
boolean Initialize (TopoShape surface, TopoShape pt, EnumExtremaType type)
 
boolean Initialize (TopoShape surface, TopoShape pt)
 
boolean InitializeByVertex (TopoShape surface, TopoShape pt, EnumExtremaType type)
 
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/4]

boolean ExtremaPointSurface.Initialize ( TopoShape surface,
GPnt pt )

初始化

参数
surface曲面
pt点位置

返回
是否成功

◆ Initialize() [2/4]

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

初始化

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

◆ Initialize() [3/4]

boolean ExtremaPointSurface.Initialize ( TopoShape surface,
TopoShape pt )

初始化

参数
surface曲面
ptVertex

返回
是否成功

◆ Initialize() [4/4]

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

初始化

参数
surface曲面
ptVertex
type极值的类型
返回
是否成功