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

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

Public 成员函数

void SetCurve (TopoShape^ curve)
 
bool Perform (Ray^ ray)
 
bool Perform (TopoShape^ curve)
 
int GetPointCount ()
 
Vector3GetPoint (int idx)
 
Real GetParameter (int idx)
 
Real GetSquareDistance (int idx)
 
Vector3GetNearestPoint ()
 

详细描述

Intersection testing for line and curve.

成员函数说明

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

The nearest intersection point.

返回
the point.
Real AnyCAD::Platform::IntersectionLineCurve::GetParameter ( int  idx)

Get parameter by index

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

Get the point by index

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

Get the intersection point count

返回
the count.
Real AnyCAD::Platform::IntersectionLineCurve::GetSquareDistance ( int  idx)

Get the square distance by index

参数
idxthe index. start from 1.
返回
the squre distance.
bool AnyCAD::Platform::IntersectionLineCurve::Perform ( Ray ray)

Intersection test by ray

参数
raythe ray.
返回
true if intersected.
bool AnyCAD::Platform::IntersectionLineCurve::Perform ( TopoShape curve)

Intersection test by curve

参数
curvethe curve.
返回
true if intersected.
void AnyCAD::Platform::IntersectionLineCurve::SetCurve ( TopoShape curve)

Initialize the algorithm with edge

参数
curvemust be edge

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