Angles

Meshes.∠Function
∠(A, B, C)

Angle ∠ABC between rays BA and BC. See https://en.wikipedia.org/wiki/Angle.

Uses the two-argument form of atan returning value in range [-π, π]. See https://en.wikipedia.org/wiki/Atan2.

Examples

∠(Point(1,0), Point(0,0), Point(0,1)) == π/2
∠(u, v)

Angle between vectors u and v. See https://en.wikipedia.org/wiki/Angle.

Uses the two-argument form of atan returning value in range [-π, π]. See https://en.wikipedia.org/wiki/Atan2.

Examples

∠(Vec(1,0), Vec(0,1)) == π/2