Primitives
Scalar
A scalar is a simple real value with a unit - a unit is a product of integer powers of simple units. The simple units are:
- Distance
- Angle
Any scalar, whose unit cannot be determined, is assumed to be unitless. Scalars in this reference are denoted as Scalar(<unit>).
Note: A literal will never be coerced to an angle, since that would introduce uncertainty whether it should be treated as given in radians or degrees. Instead, look for their respective functions.
Point
A point is defined as a point on a euclidean plane. Denoted as Point.
Circle
A circle is given a center and a radius. It is a set of points with the distance to its center equal to its radius. Denoted as Circle.
Line
A line is a line in euclidean sense. Denoted as Line.