BSpline Curve tool that can be used to construct BSpline and get BSpline information. 更多...
#include <APIGeomCurve2d.h>
Public 成员函数 | |
virtual bool | IsValidGeomey () const |
virtual bool | Initialize (const TopoShape &topoShape) |
EnumCurveType | GetCurveType () const |
Real | Tolerance () const |
Real | FirstParameter () const |
Real | LastParameter () const |
int | Continuity () const |
bool | IsClosed () const |
bool | IsPeriodic () const |
Real | Period () const |
Vector2 | Value (Real u) const |
Vector2 | D0 (Real u) const |
Vector2List | D1 (Real u) const |
Vector2List | D2 (Real u) const |
Vector2List | D3 (Real u) const |
Vector2 | DN (Real u, int n) const |
BSpline Curve tool that can be used to construct BSpline and get BSpline information.
int AnyCAD::API::GeomCurve2d::Continuity | ( | ) | const |
Continuity. enum: C0 = 0, G1, C1, G2, C2, C3, CN
Computes the point of parameter U on the curve.
u | the parameter |
Vector2List AnyCAD::API::GeomCurve2d::D1 | ( | Real | u | ) | const |
Computes the point and derivative of parameter U on the curve.
u | the parameter |
Vector2List AnyCAD::API::GeomCurve2d::D2 | ( | Real | u | ) | const |
Computes the point and derivative of parameter U on the curve.
u | the parameter |
Vector2List AnyCAD::API::GeomCurve2d::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::GeomCurve2d::FirstParameter | ( | ) | const |
The first parameter.
EnumCurveType AnyCAD::API::GeomCurve2d::GetCurveType | ( | ) | const |
Get the curve type. enum EnumCurveType
|
virtual |
bool AnyCAD::API::GeomCurve2d::IsClosed | ( | ) | const |
Is Closed.
bool AnyCAD::API::GeomCurve2d::IsPeriodic | ( | ) | const |
Is Periodic.
|
virtual |
Test if valid.
Real AnyCAD::API::GeomCurve2d::LastParameter | ( | ) | const |
The last parameter.
Real AnyCAD::API::GeomCurve2d::Period | ( | ) | const |
The period.
Real AnyCAD::API::GeomCurve2d::Tolerance | ( | ) | const |
tolerance.
Computes the point of parameter U on the curve.
u | the parameter |