areAnglesCompatible

See source code

Checks whether two angles are approximately at right-angles or parallel to each other

function areAnglesCompatible(a: number, b: number): boolean

Parameters

NameDescription

a

number

Angle a (radians)

b

number

Angle b (radians)

Returns

boolean

True iff the angles are approximately at right-angles or parallel to each other

Prev
approximately
Next
average