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

Public 成员函数

boolean Initialize (TopoShape edge, TopoShape face)
 
int GetPointCount ()
 
boolean IsParallel ()
 
double GetSquareDistance (int idx)
 
GPnt GetPointOnEdge (int idx)
 
GPnt GetPointOnFace (int idx)
 
double GetParameterOnEdge (int idx)
 
GXY GetParameterOnFace (int idx)
 

详细描述

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

成员函数说明

◆ GetParameterOnEdge()

double ExtremaCurveSurface.GetParameterOnEdge ( int  idx)

Get parameter on edge by index

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

◆ GetParameterOnFace()

GXY ExtremaCurveSurface.GetParameterOnFace ( int  idx)

Get parameter on face by index

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

◆ GetPointCount()

int ExtremaCurveSurface.GetPointCount ( )

Get the extrema point count

返回
the count.

◆ GetPointOnEdge()

GPnt ExtremaCurveSurface.GetPointOnEdge ( int  idx)

Get the point by index

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

◆ GetPointOnFace()

GPnt ExtremaCurveSurface.GetPointOnFace ( int  idx)

Get the point by index

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

◆ GetSquareDistance()

double ExtremaCurveSurface.GetSquareDistance ( int  idx)

Get the square distance of the solution index

参数
idxthe index.
返回
the square distance.

◆ Initialize()

boolean ExtremaCurveSurface.Initialize ( TopoShape  edge,
TopoShape  face 
)

初始化

参数
edge曲线
face曲面
返回
是否成功

◆ IsParallel()

boolean ExtremaCurveSurface.IsParallel ( )

if the curve is on a parallel surface

返回
true if parallel