util.math.areEqual

Static function.

Compares two points with an error allowance.

Returns result of comparison.

{ Boolean } util.math.areEqual(first, second[, diff])

Parameters:

Parameter Default value Description
first *

Type: Number[]

Array for comparison.

second *

Type: Number[]

Array to compare.

diff

Type: Number

Precision of comparison.

* Mandatory parameter/option.