approximately

See source code

Whether two numbers numbers a and b are approximately equal.

function approximately(a: number, b: number, precision?: number): boolean

Parameters

NameDescription

a

number

The first point.

b

number

The second point.

precision

number

Returns

boolean
Prev
angleDistance
Next
areAnglesCompatible