AnyCAD Rapid API 2023
Help you to create a better world!
|
Public Member Functions | |
ParametricCurve (TopoShape topoEdge) | |
long | GetOwnerId () |
void | SetOwnerId (long val) |
boolean | IsValidGeometry () |
boolean | Initialize (TopoShape topoShape) |
EnumCurveType | GetCurveType () |
boolean | Is3DCurve () |
boolean | IsCurveOnSurface () |
double | Tolerance () |
double | FirstParameter () |
GPnt | FirstPoint () |
double | LastParameter () |
GPnt | LastPoint () |
int | Continuity () |
boolean | IsClosed () |
boolean | IsPeriodic () |
double | Period () |
GPnt | Value (double u) |
GPnt | D0 (double u) |
DerivativeValues | D1 (double u) |
DerivativeValues | D2 (double u) |
DerivativeValues | D3 (double u) |
GVec | DN (double u, int n) |
double | Curvature (double u) |
GPnt | GetStartPoint () |
GPnt | GetEndPoint () |
GBBox | GetBBox () |
double | GetLength () |
double | ComputeLength (double u1, double u2) |
double | ComputePointByDistance (double u0, double offset) |
DoubleList | SplitByUniformLength (double length, double tolerance) |
DoubleList | SplitByUniformLength (double length, double u1, double u2, double tolerance) |
DoubleList | SplitByUniformLengthByCount (long count, double u1, double u2, double tolerance) |
DoubleList | SplitByUniformAbscissa (long count) |
DoubleList | SplitByUniformAbscissa (long count, double u1, double u2) |
DoubleList | SplitByTangential (double angular, double curvature) |
DoubleList | SplitByTangential (double angular, double curvature, double u1, double u2) |
DoubleList | SplitByTangential (double angular, double curvature, double u1, double u2, double minLength, int minPointNumber) |
GLin | TryLine () |
GCirc | TryCircle () |
GElips | TryEllipse () |
GHypr | TryHyperbola () |
GParab | TryParabola () |
GBSplineCurve | TryBSplineCurve () |
GBezierCurve | TryBezierCurve () |
Public Member Functions inherited from ParametricGeometry | |
long | GetId () |
void | SetId (long val) |
TopoShape | GetShape () |
<>
Parametric representation of the curve.
double ParametricCurve.ComputePointByDistance | ( | double | u0, |
double | offset | ||
) |
Compute the point with the distance to u0.
u0 | the parameter of the start point. |
offset | the distance. |
int ParametricCurve.Continuity | ( | ) |
Continuity.
enum:
C0 = 0,
G1,
C1,
G2,
C2,
C3,
CN
GPnt ParametricCurve.D0 | ( | double | u | ) |
Computes the point of parameter U on the curve.
u | the parameter |
DerivativeValues ParametricCurve.D1 | ( | double | u | ) |
Computes the point and derivative of parameter U on the curve.
u | the parameter |
DerivativeValues ParametricCurve.D2 | ( | double | u | ) |
Computes the point and derivative of parameter U on the curve.
u | the parameter |
DerivativeValues ParametricCurve.D3 | ( | double | u | ) |
Computes the point and derivative of parameter U on the curve.
u | the parameter |
GVec ParametricCurve.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 ParametricCurve.FirstParameter | ( | ) |
The first parameter.
GBBox ParametricCurve.GetBBox | ( | ) |
Compute the bounding box.
EnumCurveType ParametricCurve.GetCurveType | ( | ) |
Get the curve type.
enum EnumCurveType
GPnt ParametricCurve.GetEndPoint | ( | ) |
Get the end point position.
GPnt ParametricCurve.GetStartPoint | ( | ) |
Get the start point position.
boolean ParametricCurve.Initialize | ( | TopoShape | topoShape | ) |
Use TopoShape to initialize the geometry, must be Edge.
topoShape | the TopoShape |
Reimplemented from ParametricGeometry.
boolean ParametricCurve.Is3DCurve | ( | ) |
Is 3D Curve.
boolean ParametricCurve.IsClosed | ( | ) |
Is Closed.
boolean ParametricCurve.IsCurveOnSurface | ( | ) |
Is 3D Curve on surface.
boolean ParametricCurve.IsPeriodic | ( | ) |
Is Periodic.
boolean ParametricCurve.IsValidGeometry | ( | ) |
Test if valid.
Reimplemented from ParametricGeometry.
double ParametricCurve.LastParameter | ( | ) |
The last parameter.
double ParametricCurve.Period | ( | ) |
The period.
DoubleList ParametricCurve.SplitByTangential | ( | double | angular, |
double | curvature | ||
) |
Split the curve by curvature
angular | the angle deflection in radians |
curvature | linear deflection |
DoubleList ParametricCurve.SplitByUniformAbscissa | ( | long | count | ) |
Split the curve to equal parts.
count | the point count. |
DoubleList ParametricCurve.SplitByUniformLength | ( | double | length, |
double | tolerance | ||
) |
Split the curve to equal parts.
length | the length of each part. |
tolerance | the tolerance |
double ParametricCurve.Tolerance | ( | ) |
tolerance.
GPnt ParametricCurve.Value | ( | double | u | ) |
Computes the point of parameter U on the curve.
u | the parameter |