Public function

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

Signature
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

Source

packages/editor/src/lib/primitives/utils.ts

Arc2daverage