AnyCAD SDK PRO  2020
The Professional Graphics SDK for .Net and C++ Developers
Public 成员函数 | 所有成员列表
AnyCAD::Platform::IntersectionLineSurface类 参考

Intersection testing for line and surface. 更多...

Public 成员函数

void SetSurface (TopoShape^ surface)
 
bool Perform (Ray^ ray)
 
bool Perform (TopoShape^ curve, Real startParam, Real endParam)
 
int GetPointCount ()
 
Vector3GetPoint (int idx)
 
Real GetParameterU (int idx)
 
Real GetParameterV (int idx)
 
Real GetParameterW (int idx)
 
Vector3GetNearestPoint ()
 

详细描述

Intersection testing for line and surface.

成员函数说明

Vector3 ^ AnyCAD::Platform::IntersectionLineSurface::GetNearestPoint ( )

The nearest intersection point.

返回
the point.
Real AnyCAD::Platform::IntersectionLineSurface::GetParameterU ( int  idx)

Get u parameter by index

参数
idxthe index. start from 1.
返回
the u.
Real AnyCAD::Platform::IntersectionLineSurface::GetParameterV ( int  idx)

Get v parameter by index

参数
idxthe index. start from 1.
返回
the v.
Real AnyCAD::Platform::IntersectionLineSurface::GetParameterW ( int  idx)

The parameter for the line

参数
idxthe index. start from 1.
返回
the parameter on line.
Vector3 ^ AnyCAD::Platform::IntersectionLineSurface::GetPoint ( int  idx)

Get the point by index

参数
idxthe index. start from 1.
返回
the Point.
int AnyCAD::Platform::IntersectionLineSurface::GetPointCount ( )

Get the intersection point count

返回
the count.
bool AnyCAD::Platform::IntersectionLineSurface::Perform ( Ray ray)

Intersection test by ray

参数
raythe ray.
返回
true if intersected.
bool AnyCAD::Platform::IntersectionLineSurface::Perform ( TopoShape curve,
Real  startParam,
Real  endParam 
)

Intersection test by curve

参数
curvethe curve.
startParamthe start parameter which can be -INF
endParamthe end parameter which can be +INF
返回
true if intersected.
void AnyCAD::Platform::IntersectionLineSurface::SetSurface ( TopoShape surface)

Initialize the algorithm with surface

参数
surfacemust be face

该类的文档由以下文件生成: