Utilities

Points

Distance between two points

Mid point between two points

Lines

Slope

Line angle

Angle between two lines

Coordinate system transformations

Global to body coordinates

Body to global coordinates

Global to view coordinates

View to global coordinates

Body to view coordinates

View to body coordinates

Polar to cartesian and cartesian to polar coordinate tranformations

Angles

Degrees to radians

Radians to degrees

Positive angle

Distance

Point to point distance

Point to line distance

Point to line segment distance

Point to circle distance

Polygons

Creating regular polygons

Calculating polygon area

Calculating a polygon’s CG location

Cross product

Cross product sense

Dot product

Matrices

Affine transformations

Newton-Raphson

Line fitting

Circle fitting

Circle by three points