|
AnyCAD Rapid API 2023
Help you to create a better world!
|
Public Member Functions | |
| 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 () |
| double | ComputeLength (double u1, double u2) |
| double | ComputePointByDistance (double u0, double offset) |
| DoubleList | SplitByUniformLength (double length, double tolerance) |
| GLin2d | TryLine () |
| GCirc2d | TryCircle () |
| GElips2d | TryEllipse () |
| GHypr2d | TryHyperbola () |
| GParab2d | TryParabola () |
Public Member Functions inherited from ParametricGeometry | |
| long | GetId () |
| void | SetId (long val) |
| TopoShape | GetShape () |
<>
BSpline Curve tool that can be used to construct BSpline and get BSpline information.
| double ParametricCurve2d.ComputePointByDistance | ( | double | u0, |
| double | offset | ||
| ) |
Compute the point with the distance to u0.
| u0 | the parameter of the start point. |
| offset | the distance. |
| 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 | ) |
Use TopoShape to initialize the geometry, must be Edge.
| topoShape | the TopoShape |
Reimplemented from ParametricGeometry.
| boolean ParametricCurve2d.Is3DCurve | ( | ) |
Is 3D Curve.
| boolean ParametricCurve2d.IsClosed | ( | ) |
Is Closed.
| boolean ParametricCurve2d.IsPeriodic | ( | ) |
Is Periodic.
| boolean ParametricCurve2d.IsValidGeometry | ( | ) |
Test if valid.
Reimplemented from ParametricGeometry.
| 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 |