IDP.Math.KArc3d.getApproximatePointsBySagitta() method
对当前圆弧进行离散,保证相邻两点之间的弦高小于给定值。
Discretize the Arc to points with specified sagitta.
Signature:
getApproximatePointsBySagitta(sagitta?: number): KPoint3d[];
Links: getApproximatePointsBySagitta(sagitta?: number): KPoint3d[];
Parameters
Parameter | Type | Description |
---|---|---|
sagitta | number | (Optional) 相邻两点之间圆弧段的弦高。 如果没有输入弦高值、输入值过小(<1.0e-6)或者过大(> Radius-1.0e-6),则默认会采用PI/60为刻度去离散圆弧。 The sagitta between two adjacent points. If sagitta is not provided or the value is too small(<1.0e-6) or big(> Radius-1.0e-6), then it will use step = PI/60 radians to discretize the arc. |
Returns:
KPoint3d[]
离散点列。
The discretized points.