Skip to content

KBE3D / KBCore / Cesium / Math / greaterThanOrEquals

函数: greaterThanOrEquals()

greaterThanOrEquals(left: number, right: number, absoluteEpsilon: number): boolean

Determines if the left value is greater than or equal to the right value. If the two values are within <code>absoluteEpsilon</code> of each other, they are considered equal and this function returns true.

参数

left

number

The first number to compare.

number

The second number to compare.

absoluteEpsilon

number

The absolute epsilon to use in comparison.

返回

boolean

true if left is greater than right or if the the values are nearly equal.

KBE3D @3.0.0 Copyright © 2024-present KBE3D