IDP.Math.KGeomLib.createArc2dByThreePoints() method
通过三个点创建一个圆弧。 Create an arc by input three points.
Signature:
createArc2dByThreePoints(startPoint: KPoint2d, midPoint: KPoint2d, endPoint: KPoint2d): KArc2d | null;
Links: createArc2dByThreePoints(startPoint: KPoint2d, midPoint: KPoint2d, endPoint: KPoint2d): KArc2d | null;
Parameters
Parameter | Type | Description |
---|---|---|
startPoint | 圆弧的起点。 The start point of the 2D arc. | |
midPoint | 圆弧的中点。 The middle point of the 2D arc. | |
endPoint | 圆弧的末点。 The end point of the 2D arc. |
Returns:
KArc2d | null
返回一个圆弧或者null,当三点共线时就是null。
The 2D arc or null (if the three points are colinear).