Namespace Polar

Work with Polar coordinates. A Polar.Coord is just { angleRadians:number, distance: number }.

Conversion: toCartesian, fromCartesian, toString

Math: divide, invert, multiply, dotProduct

Geometric manipulations: rotate, rotateDegrees

Cleaning: clampMagnitude, normalise

Debugging: toString

Comparisons: isAntiParallel, isOpposite, isParallel, isPolarCoord

Index

Type Aliases

Functions