IDP.Math.KGeomLib.createArc2dByChordAndBulge() method
通过圆弧的弦和圆弧突起的高度比例来创建圆弧。
Create an arc by the chord of the arc and the bulge ratio.
.. . | . . A | . ------------------- chord bulge = Math.tan(A) = sagitta / (0.5 * chord)
NOTE: if signedBulge > 0, the arc is conter clockwise, otherwise it's clockwise.
Signature:
createArc2dByChordAndBulge(chord: KLineSegment2d, signedBulge: number): KArc2d;
Links: createArc2dByChordAndBulge(chord: KLineSegment2d, signedBulge: number): KArc2d;
Parameters
Parameter | Type | Description |
---|---|---|
chord | 圆弧的弦。 The chord of the 2d arc. | |
signedBulge | number | 圆弧的突起比例。 The bulge ratio of the arc. |
Returns:
圆弧。
The 2d arc.