AnyCAD Rapid API 2023
Help you to create a better world!
|
<>
二维曲线的几何参数表达,用来获取曲线上点、切线等信息。
ParametricCurve2d.ParametricCurve2d | ( | TopoShape | edge | ) |
使用2D边拓扑对象构造和初始化
edge | 边 |
double ParametricCurve2d.ComputeLength | ( | double | u1, |
double | u2 | ||
) |
计算指定区间的长度
u1 | 起始参数 |
u2 | 终止参数 |
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 | ( | ) |
起点参数
GBBox ParametricCurve2d.GetBBox | ( | ) |
Compute the bounding box.
EnumCurveType ParametricCurve2d.GetCurveType | ( | ) |
Get the curve type.
enum EnumCurveType
GPnt2d ParametricCurve2d.GetEndPoint | ( | ) |
获取终点坐标.
double ParametricCurve2d.GetLength | ( | ) |
计算长度
GPnt2d ParametricCurve2d.GetStartPoint | ( | ) |
获取起始点坐标.
boolean ParametricCurve2d.Initialize | ( | TopoShape | edge | ) |
boolean ParametricCurve2d.Is3DCurve | ( | ) |
Is 3D Curve.
boolean ParametricCurve2d.IsClosed | ( | ) |
Is Closed.
boolean ParametricCurve2d.IsPeriodic | ( | ) |
Is Periodic.
boolean ParametricCurve2d.IsValidGeometry | ( | ) |
Test if valid.
重载 ParametricGeometry .
double ParametricCurve2d.LastParameter | ( | ) |
终点参数
GVec2d ParametricCurve2d.Normal | ( | double | u | ) |
计算法向的值
u | 参数 |
double ParametricCurve2d.Period | ( | ) |
The period.
DoubleList ParametricCurve2d.SplitByUniformLength | ( | double | length, |
double | tolerance | ||
) |
拆分为等长度的线段.
length | the length of each part. |
tolerance | 误差 |
GCirc2d ParametricCurve2d.TryCircle | ( | ) |
转换为圆弧对象
GElips2d ParametricCurve2d.TryEllipse | ( | ) |
转换为椭圆弧对象
GHypr2d ParametricCurve2d.TryHyperbola | ( | ) |
转换为双曲线对象
GLin2d ParametricCurve2d.TryLine | ( | ) |
转换为直线对象
GParab2d ParametricCurve2d.TryParabola | ( | ) |
转换为抛物线对象
GPnt2d ParametricCurve2d.Value | ( | double | u | ) |
计算点的值.
u | the parameter |