AnyCAD SDK PRO
2020
The Professional Graphics SDK for .Net and C++ Developers
|
Intersection testing for line and curve. 更多...
Public 成员函数 | |
void | SetCurve (TopoShape^ curve) |
bool | Perform (Ray^ ray) |
bool | Perform (TopoShape^ curve) |
int | GetPointCount () |
Vector3^ | GetPoint (int idx) |
Real | GetParameter (int idx) |
Real | GetSquareDistance (int idx) |
Vector3^ | GetNearestPoint () |
Intersection testing for line and curve.
Vector3 ^ AnyCAD::Platform::IntersectionLineCurve::GetNearestPoint | ( | ) |
The nearest intersection point.
Real AnyCAD::Platform::IntersectionLineCurve::GetParameter | ( | int | idx | ) |
Get parameter by index
idx | the index. start from 1. |
Vector3 ^ AnyCAD::Platform::IntersectionLineCurve::GetPoint | ( | int | idx | ) |
Get the point by index
idx | the index. start from 1. |
int AnyCAD::Platform::IntersectionLineCurve::GetPointCount | ( | ) |
Get the intersection point count
Real AnyCAD::Platform::IntersectionLineCurve::GetSquareDistance | ( | int | idx | ) |
Get the square distance by index
idx | the index. start from 1. |
bool AnyCAD::Platform::IntersectionLineCurve::Perform | ( | Ray^ | ray | ) |
Intersection test by ray
ray | the ray. |
bool AnyCAD::Platform::IntersectionLineCurve::Perform | ( | TopoShape^ | curve | ) |
Intersection test by curve
curve | the curve. |
void AnyCAD::Platform::IntersectionLineCurve::SetCurve | ( | TopoShape^ | curve | ) |
Initialize the algorithm with edge
curve | must be edge |