AnyCAD Rapid SDK
2020
The Rapid CAD SDK
|
Public Member Functions | |
synchronized void | delete () |
ParametricCurve2d (TopoShape topoEdge) | |
long | GetOwnerId () |
void | SetOwnerId (long val) |
boolean | IsValidGeometry () |
boolean | Initialize (TopoShape topoShape) |
EnumCurveType | GetCurveType () |
boolean | Is3DCurve () |
double | FirstParameter () |
double | LastParameter () |
int | Continuity () |
boolean | IsClosed () |
boolean | IsPeriodic () |
double | Period () |
GPnt2d | Value (double u) |
GPnt2d | D0 (double u) |
DerivativeValues2d | D1 (double u) |
DerivativeValues2d | D2 (double u) |
DerivativeValues2d | D3 (double u) |
GVec2d | DN (double u, int n) |
GPnt2d | GetStartPoint () |
GPnt2d | GetEndPoint () |
GBBox | GetBBox () |
double | GetLength () |
DoubleList | SplitByUniformLength (double length, double tolerance) |
GLin2d | TryLine () |
GCirc2d | TryCircle () |
GElips2d | TryEllipse () |
GHypr2d | TryHyperbola () |
GParab2d | TryParabola () |
![]() | |
synchronized void | delete () |
long | GetId () |
void | SetId (long val) |
boolean | IsValidGeometry () |
boolean | Initialize (TopoShape topoShape) |
TopoShape | GetShape () |
Protected Member Functions | |
ParametricCurve2d (long cPtr, boolean cMemoryOwn) | |
void | swigSetCMemOwn (boolean own) |
void | finalize () |
![]() | |
ParametricGeometry (long cPtr, boolean cMemoryOwn) | |
void | swigSetCMemOwn (boolean own) |
void | finalize () |
Static Protected Member Functions | |
static long | getCPtr (ParametricCurve2d obj) |
![]() | |
static long | getCPtr (ParametricGeometry obj) |
BSpline Curve tool that can be used to construct BSpline and get BSpline information.
int ParametricCurve2d.Continuity | ( | ) |
Continuity.
enum:
C0 = 0,
G1,
C1,
G2,
C2,
C3,
CN
GPnt2d ParametricCurve2d.D0 | ( | double | u | ) |
Computes the point of parameter U on the curve.
u | the parameter |
DerivativeValues2d ParametricCurve2d.D1 | ( | double | u | ) |
Computes the point and derivative of parameter U on the curve.
u | the parameter |
DerivativeValues2d ParametricCurve2d.D2 | ( | double | u | ) |
Computes the point and derivative of parameter U on the curve.
u | the parameter |
DerivativeValues2d ParametricCurve2d.D3 | ( | double | u | ) |
Computes the point and derivative of parameter U on the curve.
u | the parameter |
GVec2d ParametricCurve2d.DN | ( | double | u, |
int | n | ||
) |
The returned vector gives the value of the derivative for the order of derivation N.
u | the parameter |
n | the order of derivation |
double ParametricCurve2d.FirstParameter | ( | ) |
The first parameter.
GBBox ParametricCurve2d.GetBBox | ( | ) |
Compute the bounding box.
EnumCurveType ParametricCurve2d.GetCurveType | ( | ) |
Get the curve type.
enum EnumCurveType
GPnt2d ParametricCurve2d.GetEndPoint | ( | ) |
Get the end point position.
GPnt2d ParametricCurve2d.GetStartPoint | ( | ) |
Get the start point position.
boolean ParametricCurve2d.Initialize | ( | TopoShape | topoShape | ) |
boolean ParametricCurve2d.Is3DCurve | ( | ) |
Is 3D Curve.
boolean ParametricCurve2d.IsClosed | ( | ) |
Is Closed.
boolean ParametricCurve2d.IsPeriodic | ( | ) |
Is Periodic.
boolean ParametricCurve2d.IsValidGeometry | ( | ) |
Test if valid.
double ParametricCurve2d.LastParameter | ( | ) |
The last parameter.
double ParametricCurve2d.Period | ( | ) |
The period.
DoubleList ParametricCurve2d.SplitByUniformLength | ( | double | length, |
double | tolerance | ||
) |
Split the curve to equal parts.
length | the length of each part. |
tolerance | the tolerance |
GPnt2d ParametricCurve2d.Value | ( | double | u | ) |
Computes the point of parameter U on the curve.
u | the parameter |