Skip to content

KBE3D / KBCore / Cesium / equalsArrayCartesian3

函数: equalsArrayCartesian3()

equalsArrayCartesian3(a: Cartesian3[] | undefined, b: Cartesian3[] | undefined): boolean

Returns whether the given arrays are component-wise equal.

When both arrays are undefined, then <code>true</code> is returned. When only one array is defined, or they are both defined but have different lengths, then <code>false</code> is returned.

Otherwise, returns whether the corresponding elements of the arrays are equal, as of <code>Cartesian3.equals</code>.

参数

a

The first array

Cartesian3[] | undefined

b

The second array

Cartesian3[] | undefined

返回

boolean

Whether the arrays are equal

KBE3D @3.0.0 Copyright © 2024-present KBE3D