跳到主要内容

IDP.Math.KArc3d.getApproximatePointsByAngle() method

按给定圆心角对当前圆弧进行离散。

Discretize the Arc to points with specified angle.

Signature:

getApproximatePointsByAngle(angleSpan?: number): KPoint3d[];

Links: getApproximatePointsByAngle(angleSpan?: number): KPoint3d[];

Parameters

Parameter

Type

Description

angleSpan

number

(Optional) 圆心角(以弧度为单位)。 如果没有输入角度值或者输入值过小(<1.0e-6),则默认使用PI/60个弧度。

Central angle span in radians. If angleSpan is not provided or the value is too small(<1.0e-6), then it will use default value PI/60.

Returns:

KPoint3d[]

离散点列。

The discretized points.