Skip to content

KBE3D / KBCore / Cesium / Math / chordLength

函数: chordLength()

chordLength(angle: number, radius: number): number

Finds the chord length between two points given the circle's radius and the angle between the points.

参数

angle

number

The angle between the two points.

radius

number

The radius of the circle.

返回

number

The chord length.

KBE3D @3.0.0 Copyright © 2024-present KBE3D