AnyCAD Rapid API 2024
Help you to create a better world!
|
Public 成员函数 | |
ParametricCurve (TopoShape edge) | |
long | GetOwnerId () |
void | SetOwnerId (long val) |
boolean | IsValidGeometry () |
boolean | Initialize (TopoShape edge) |
boolean | InitializeByLine (GLin line) |
boolean | InitializeBySegment (GPnt start, GPnt end) |
boolean | InitializeByCircle (GCirc circle) |
boolean | InitializeByArc (GCirc circle, double u1, double u2) |
boolean | InitializeByElips (GElips curve) |
boolean | InitializeByElipsArc (GElips curve, double u1, double u2) |
boolean | InitializeByHypr (GHypr curve, double u1, double u2) |
boolean | InitializeByParab (GParab curve, double u1, double u2) |
boolean | InitializeByBSpline (GBSplineCurve curve) |
boolean | InitializeByBezier (GBezierCurve curve) |
EnumCurveType | GetCurveType () |
boolean | Is3DCurve () |
boolean | IsLinear (double tol) |
boolean | IsLinear () |
boolean | IsCurveOnSurface () |
double | Tolerance () |
double | FirstParameter () |
GPnt | FirstPoint () |
double | LastParameter () |
GPnt | LastPoint () |
EnumGeometryContinuity | 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 distance) |
DoubleList | SplitByUniformLength (double length, double tolerance) |
DoubleList | SplitByUniformLengthByAll (double length, double tolerance) |
DoubleList | SplitByUniformLength (double length, double u1, double u2, double tolerance) |
DoubleList | SplitByUniformLengthByRange (double length, double u1, double u2, double tolerance) |
DoubleList | SplitByUniformLengthByCount (long count, double u1, double u2, double tolerance) |
DoubleList | SplitByUniformAbscissa (long count) |
DoubleList | SplitByUniformAbscissaByAll (long count) |
DoubleList | SplitByUniformAbscissa (long count, double u1, double u2) |
DoubleList | SplitByUniformAbscissaByRange (long count, double u1, double u2) |
DoubleList | SplitByTangential (double angular, double curvature) |
DoubleList | SplitByTangentialByAll (double angular, double curvature) |
DoubleList | SplitByTangential (double angular, double curvature, double u1, double u2) |
DoubleList | SplitByTangentialByRange (double angular, double curvature, double u1, double u2) |
DoubleList | SplitByTangential (double angular, double curvature, double u1, double u2, double minLength, int minPointNumber) |
DoubleList | SplitByTangentialByLimit (double angular, double curvature, double minLength, int minPointNumber) |
GLin | TryLine () |
GCirc | TryCircle () |
GElips | TryEllipse () |
GHypr | TryHyperbola () |
GParab | TryParabola () |
GBSplineCurve | TryBSplineCurve () |
GBezierCurve | TryBezierCurve () |
double | ComputeClosestPoint (GPnt pt) |
Public 成员函数 继承自 ParametricGeometry | |
long | GetId () |
void | SetId (long val) |
TopoShape | GetShape () |
额外继承的成员函数 | |
静态 Public 成员函数 继承自 ParametricGeometry | |
static GPnt | GetPointValue (TopoShape vertex) |
<>
曲线的几何参数表达,用来获取曲线上点、切线等信息。
ParametricCurve.ParametricCurve | ( | TopoShape | edge | ) |
使用对象初始化曲线
edge | 曲线 |
double ParametricCurve.ComputeClosestPoint | ( | GPnt | pt | ) |
计算曲线上最近的点
pt | 点 |
double ParametricCurve.ComputeLength | ( | double | u1, |
double | u2 ) |
计算指定位置间的长度
u1 | 起始参数 |
u2 | 终止参数 |
double ParametricCurve.ComputePointByDistance | ( | double | u0, |
double | distance ) |
Compute the point with the distance to u0.
u0 | the parameter of the start point. |
distance | the distance. |
EnumGeometryContinuity ParametricCurve.Continuity | ( | ) |
获取连续性
double ParametricCurve.Curvature | ( | double | u | ) |
计算曲率
u | 参数位置 |
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 | ( | ) |
起始参数.
GPnt ParametricCurve.FirstPoint | ( | ) |
起始点
GBBox ParametricCurve.GetBBox | ( | ) |
Compute the bounding box.
EnumCurveType ParametricCurve.GetCurveType | ( | ) |
GPnt ParametricCurve.GetEndPoint | ( | ) |
Get the end point position.
double ParametricCurve.GetLength | ( | ) |
长度
GPnt ParametricCurve.GetStartPoint | ( | ) |
Get the start point position.
boolean ParametricCurve.Initialize | ( | TopoShape | edge | ) |
boolean ParametricCurve.Is3DCurve | ( | ) |
Is 3D Curve.
boolean ParametricCurve.IsClosed | ( | ) |
Is Closed.
boolean ParametricCurve.IsCurveOnSurface | ( | ) |
Is 3D Curve on surface.
boolean ParametricCurve.IsLinear | ( | ) |
是否表现为线性
boolean ParametricCurve.IsLinear | ( | double | tol | ) |
是否表现为线性
boolean ParametricCurve.IsPeriodic | ( | ) |
是否为周期函数.
boolean ParametricCurve.IsValidGeometry | ( | ) |
Test if valid.
重载 ParametricGeometry .
double ParametricCurve.LastParameter | ( | ) |
终点参数
GPnt ParametricCurve.LastPoint | ( | ) |
终点
double ParametricCurve.Period | ( | ) |
周期值.
DoubleList ParametricCurve.SplitByTangential | ( | double | angular, |
double | curvature ) |
根据曲率和角度自动分割曲线,曲率大的地方密一些,曲率小的地方稀一些。
angular | 角度偏转(弧度) |
curvature | 线形偏转 linear deflection |
DoubleList ParametricCurve.SplitByTangential | ( | double | angular, |
double | curvature, | ||
double | u1, | ||
double | u2 ) |
根据曲率和角度自动分割曲线,曲率大的地方密一些,曲率小的地方稀一些。
angular | 角度偏转(弧度) |
curvature | 线形偏转 linear deflection |
u1 | 起始参数 |
u2 | 终止参数 |
DoubleList ParametricCurve.SplitByTangential | ( | double | angular, |
double | curvature, | ||
double | u1, | ||
double | u2, | ||
double | minLength, | ||
int | minPointNumber ) |
根据曲率和角度自动分割曲线,曲率大的地方密一些,曲率小的地方稀一些。
angular | 角度偏转(弧度) |
curvature | 线形偏转 linear deflection |
u1 | 起始参数 |
u2 | 终止参数 |
minLength | 最小长度 |
minPointNumber | 最小点数量 |
DoubleList ParametricCurve.SplitByUniformAbscissa | ( | long | count | ) |
把曲线指定的区间拆分为等长的线段.
count | 点的个数. |
DoubleList ParametricCurve.SplitByUniformAbscissa | ( | long | count, |
double | u1, | ||
double | u2 ) |
指定个数,把曲线指定的区间拆分为等长的线段.
count | 点的个数. |
u1 | 起始参数 |
u2 | 终止参数 |
DoubleList ParametricCurve.SplitByUniformLength | ( | double | length, |
double | tolerance ) |
把曲线拆分为等长的线段.
length | 每段的长度. |
tolerance | 误差 |
DoubleList ParametricCurve.SplitByUniformLength | ( | double | length, |
double | u1, | ||
double | u2, | ||
double | tolerance ) |
把曲线指定的区间拆分为等长的线段.
length | 每段的长度. |
u1 | 起始参数 |
u2 | 终止参数 |
tolerance | 误差 |
DoubleList ParametricCurve.SplitByUniformLengthByCount | ( | long | count, |
double | u1, | ||
double | u2, | ||
double | tolerance ) |
指定个数,把曲线指定的区间拆分为等长的线段.
count | 个数 |
u1 | 起始参数 |
u2 | 终止参数 |
tolerance | 误差 |
double ParametricCurve.Tolerance | ( | ) |
tolerance.
GBezierCurve ParametricCurve.TryBezierCurve | ( | ) |
转成贝塞尔曲线。转之前调用GetCurveType判断类型
GBSplineCurve ParametricCurve.TryBSplineCurve | ( | ) |
转成样条曲线。转之前调用GetCurveType判断类型
GCirc ParametricCurve.TryCircle | ( | ) |
转成圆弧。转之前调用GetCurveType判断类型
GElips ParametricCurve.TryEllipse | ( | ) |
转成椭圆弧。转之前调用GetCurveType判断类型
GHypr ParametricCurve.TryHyperbola | ( | ) |
转成双曲线。转之前调用GetCurveType判断类型
GLin ParametricCurve.TryLine | ( | ) |
转成线。转之前调用GetCurveType判断类型
GParab ParametricCurve.TryParabola | ( | ) |
转成抛物线。转之前调用GetCurveType判断类型
GPnt ParametricCurve.Value | ( | double | u | ) |
Computes the point of parameter U on the curve.
u | the parameter |