IDP.Math.KGeomLib.createArc3dByCenterNormalRadius() method
通过圆心和法向和半径和起点末点来创建圆弧。 注意:这种方式创建的圆弧始终时围绕着法向逆时针的。
Create an arc by start and end points. NOTE: the created arc is always counter-clockwise around the normal.
Signature:
createArc3dByCenterNormalRadius(center: KPoint3d, normal: KVector3d, radius: number, startPoint: KPoint3d, endPoint: KPoint3d): KArc3d;
Links: createArc3dByCenterNormalRadius(center: KPoint3d, normal: KVector3d, radius: number, startPoint: KPoint3d, endPoint: KPoint3d): KArc3d;
Parameters
Parameter | Type | Description |
---|---|---|
center | 圆心。 The center point of the 3D arc. | |
normal | 法向。 The normal of the 3D arc. | |
radius | number | 圆弧半径。 The radius of the 3D arc. |
startPoint | 圆弧的起点,需要注意,该点需要在圆弧上。 The startPoint point of the 3D arc. The caller need to make sure it's on the arc. | |
endPoint | 圆弧的末点,需要注意,该点需要在圆弧上。 The end point of the 3D arc. The caller need to make sure it's on the arc. |
Returns:
三维圆弧。
The 3D arc.