IDP.Math.KGeomLib.createCircle3dByThreePoints() method
通过三点来创建一圆。
Create an circle by input three points.
Signature:
createCircle3dByThreePoints(startPoint: KPoint3d, midPoint: KPoint3d, endPoint: KPoint3d): KCircle3d | null;
Links: createCircle3dByThreePoints(startPoint: KPoint3d, midPoint: KPoint3d, endPoint: KPoint3d): KCircle3d | null;
Parameters
Parameter | Type | Description |
---|---|---|
startPoint | 圆上第一个点。 The start point of the 3D circle. | |
midPoint | 圆上第二个点。 The middle point of the 3D circle. | |
endPoint | 圆上第三个点。 The end point of the 3D circle. |
Returns:
KCircle3d | null
返回一个圆,也可能是null(当三点共线时)。
The 3D circle or null (if the three points are colinear).