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

BSpline Curve tool that can be used to construct BSpline and get BSpline information. 更多...

类 AnyCAD::Platform::GeomCurve 继承关系图:
AnyCAD::Platform::GeomBase AnyCAD::Platform::GeomCircle

Public 成员函数

bool IsValidGeomey ()
 
bool Initialize (TopoShape^ topoShape)
 
EnumCurveType GetCurveType ()
 
bool Is3DCurve ()
 
bool IsCurveOnSurface ()
 
Real Tolerance ()
 
Real FirstParameter ()
 
Real LastParameter ()
 
int Continuity ()
 
bool IsClosed ()
 
bool IsPeriodic ()
 
Real Period ()
 
Vector3Value (Real u)
 
Vector3D0 (Real u)
 
Vector3List^ D1 (Real u)
 
Vector3List^ D2 (Real u)
 
Vector3List^ D3 (Real u)
 
Vector3DN (Real u, int n)
 
FloatList^ SplitByUniformLength (Real length, Real tolerance)
 
Vector3GetStartPoint ()
 
Vector3GetEndPoint ()
 
AABoxGetBBox ()
 
DoubleList^ ComputeClosedPoints (Vector3^ point, Real tolerance)
 
- Public 成员函数 继承自 AnyCAD::Platform::GeomBase
bool IsValidGeomey ()
 
bool Initialize (TopoShape^ topoShape)
 

详细描述

BSpline Curve tool that can be used to construct BSpline and get BSpline information.

成员函数说明

DoubleList ^ AnyCAD::Platform::GeomCurve::ComputeClosedPoints ( Vector3 point,
Real  tolerance 
)

Compute the closed points to the point specified.

参数
pointthe position.
返回
the position and parameter on the curve.
int AnyCAD::Platform::GeomCurve::Continuity ( )

Continuity. enum: C0 = 0, G1, C1, G2, C2, C3, CN

Vector3 ^ AnyCAD::Platform::GeomCurve::D0 ( Real  u)

Computes the point of parameter U on the curve.

参数
uthe parameter
返回
the point.
Vector3List ^ AnyCAD::Platform::GeomCurve::D1 ( Real  u)

Computes the point and derivative of parameter U on the curve.

参数
uthe parameter
返回
the point and the first derivative. Empty if not C1
Vector3List ^ AnyCAD::Platform::GeomCurve::D2 ( Real  u)

Computes the point and derivative of parameter U on the curve.

参数
uthe parameter
返回
the point, the first and second derivative. Empty if not C2.
Vector3List ^ AnyCAD::Platform::GeomCurve::D3 ( Real  u)

Computes the point and derivative of parameter U on the curve.

参数
uthe parameter
返回
the point, the first, the second and the third derivative. Empty if not C3.
Vector3 ^ AnyCAD::Platform::GeomCurve::DN ( Real  u,
int  n 
)

The returned vector gives the value of the derivative for the order of derivation N.

参数
uthe parameter
nthe order of derivation
返回
the vector. Return zero if not CN or N < 1.
Real AnyCAD::Platform::GeomCurve::FirstParameter ( )

The first parameter.

AABox ^ AnyCAD::Platform::GeomCurve::GetBBox ( )

Compute the bounding box.

返回
the box.
EnumCurveType AnyCAD::Platform::GeomCurve::GetCurveType ( )

Get the curve type. enum EnumCurveType

返回
the point.
Vector3 ^ AnyCAD::Platform::GeomCurve::GetEndPoint ( )

Get the end point position.

返回
the end point.
Vector3 ^ AnyCAD::Platform::GeomCurve::GetStartPoint ( )

Get the start point position.

返回
the start point.
bool AnyCAD::Platform::GeomCurve::Initialize ( TopoShape topoShape)

Use TopoShape to initialize the geometry, must be Edge.

参数
topoShapethe TopoShape
返回
true if ok.
bool AnyCAD::Platform::GeomCurve::Is3DCurve ( )

Is 3D Curve.

bool AnyCAD::Platform::GeomCurve::IsClosed ( )

Is Closed.

bool AnyCAD::Platform::GeomCurve::IsCurveOnSurface ( )

Is 3D Curve on surface.

bool AnyCAD::Platform::GeomCurve::IsPeriodic ( )

Is Periodic.

bool AnyCAD::Platform::GeomCurve::IsValidGeomey ( )

Test if valid.

Real AnyCAD::Platform::GeomCurve::LastParameter ( )

The last parameter.

Real AnyCAD::Platform::GeomCurve::Period ( )

The period.

FloatList ^ AnyCAD::Platform::GeomCurve::SplitByUniformLength ( Real  length,
Real  tolerance 
)

Split the curve to equal parts.

参数
lengththe length of each part.
tolerancethe tolerance
返回
the parameters of each part.
Real AnyCAD::Platform::GeomCurve::Tolerance ( )

tolerance.

Vector3 ^ AnyCAD::Platform::GeomCurve::Value ( Real  u)

Computes the point of parameter U on the curve.

参数
uthe parameter
返回
the point.

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