BSpline Curve tool that can be used to construct BSpline and get BSpline information. 更多...
#include <APIGeomCurve.h>
Public 成员函数 | |
virtual bool | IsValidGeomey () const |
virtual bool | Initialize (const TopoShape &topoShape) |
EnumCurveType | GetCurveType () const |
bool | Is3DCurve () const |
bool | IsCurveOnSurface () const |
Real | Tolerance () const |
Real | FirstParameter () const |
Real | LastParameter () const |
int | Continuity () const |
bool | IsClosed () const |
bool | IsPeriodic () const |
Real | Period () const |
Vector3 | Value (Real u) const |
Vector3 | D0 (Real u) const |
Vector3List | D1 (Real u) const |
Vector3List | D2 (Real u) const |
Vector3List | D3 (Real u) const |
Vector3 | DN (Real u, int n) const |
FloatList | SplitByUniformLength (Real length, Real tolerance) const |
Vector3 | GetStartPoint () const |
Vector3 | GetEndPoint () const |
AABox | GetBBox () const |
BSpline Curve tool that can be used to construct BSpline and get BSpline information.
int AnyCAD::API::GeomCurve::Continuity | ( | ) | const |
Continuity. enum: C0 = 0, G1, C1, G2, C2, C3, CN
Computes the point of parameter U on the curve.
u | the parameter |
Vector3List AnyCAD::API::GeomCurve::D1 | ( | Real | u | ) | const |
Computes the point and derivative of parameter U on the curve.
u | the parameter |
Vector3List AnyCAD::API::GeomCurve::D2 | ( | Real | u | ) | const |
Computes the point and derivative of parameter U on the curve.
u | the parameter |
Vector3List AnyCAD::API::GeomCurve::D3 | ( | Real | u | ) | const |
Computes the point and derivative of parameter U on the curve.
u | the parameter |
The returned vector gives the value of the derivative for the order of derivation N.
u | the parameter |
n | the order of derivation |
Real AnyCAD::API::GeomCurve::FirstParameter | ( | ) | const |
The first parameter.
AABox AnyCAD::API::GeomCurve::GetBBox | ( | ) | const |
Compute the bounding box.
EnumCurveType AnyCAD::API::GeomCurve::GetCurveType | ( | ) | const |
Get the curve type. enum EnumCurveType
Vector3 AnyCAD::API::GeomCurve::GetEndPoint | ( | ) | const |
Get the end point position.
Vector3 AnyCAD::API::GeomCurve::GetStartPoint | ( | ) | const |
Get the start point position.
|
virtual |
bool AnyCAD::API::GeomCurve::Is3DCurve | ( | ) | const |
Is 3D Curve.
bool AnyCAD::API::GeomCurve::IsClosed | ( | ) | const |
Is Closed.
bool AnyCAD::API::GeomCurve::IsCurveOnSurface | ( | ) | const |
Is 3D Curve on surface.
bool AnyCAD::API::GeomCurve::IsPeriodic | ( | ) | const |
Is Periodic.
|
virtual |
Real AnyCAD::API::GeomCurve::LastParameter | ( | ) | const |
The last parameter.
Real AnyCAD::API::GeomCurve::Period | ( | ) | const |
The period.
Split the curve to equal parts.
length | the length of each part. |
tolerance | the tolerance |
Real AnyCAD::API::GeomCurve::Tolerance | ( | ) | const |
tolerance.
Computes the point of parameter U on the curve.
u | the parameter |