KCurve2d interface
所有二维曲线的基类。
The root class for all 2d curves.
Signature:
export interface KCurve2d
Methods
Method | Description |
---|---|
复制一个当前曲线。 Return the cloned curve of this. | |
获得在指定容差下曲线上距离传入点最近的一点。 Get the closest point on curve for the input point with specified tolerance. | |
求曲线上某点处的曲率向量。 Get curve's curvature vector for the input point on the curve. | |
获取曲线的参数域区间。 Get the parameter interval of the curve. | |
反求输入点对应的曲线参数值。 Get point's corresponding parameter value on the curve. | |
求曲线参数值对应的曲线上的点位置。 Get the point on the curve specified by the input parameter t. | |
获得曲线的类型。 Get the curve's type. | |
检查两个曲线在指定容差下是否相等。 Check whether two curves are equal with specified tolerance. | |
检查传入点在指定容差下是否位于曲线上。 Check whether the input point is on the curve or not with specified tolerance. | |
把当前曲线反向。 reverse the current curve. | |
对当前曲线进行变换。 Transform this curve to a new one. |