KCurve2d 接口
export interface KCurve2d 
所有二维曲线的基类。
The root class for all 2d curves.
方法
clone
clone(): KCurve2d;
复制一个当前曲线。
Return the cloned curve of this.
返回值: KCurve2d
复制的曲线。
The cloned curve.
getClosestPoint
getClosestPoint(point: KPoint2d, tolerance?: number): KPoint2d;
获得在指定容差下曲线上距离传入点最近的一点。
Get the closest point on curve for the input point with specified tolerance.
参数:
- 
point: KPoint2d