跳到主要内容

IDP.Math.KGeomLib.createArc3dByThreePoints() method

通过三个点创建一个圆弧。 Create an arc by input three points.

Signature:

createArc3dByThreePoints(startPoint: KPoint3d, midPoint: KPoint3d, endPoint: KPoint3d): KArc3d | null;

Links: createArc3dByThreePoints(startPoint: KPoint3d, midPoint: KPoint3d, endPoint: KPoint3d): KArc3d | null;

Parameters

Parameter

Type

Description

startPoint

KPoint3d

圆弧的起点。

The start point of the 3D arc.

midPoint

KPoint3d

圆弧的中点。

The middle point of the 3D arc.

endPoint

KPoint3d

圆弧的末点。

The end point of the 3D arc.

Returns:

KArc3d | null

返回一个圆弧或者null,当三点共线时就是null。

The 3D arc or null (if the three points are colinear).