An abstract and infinite line in 3d space.
The X, Y, and Z axes are defined in the standard library. You can define custom axes by using an object with origin and direction properties.
The 3D X axis is defined similar to the following:
The number components of the origin and direction must be usable as lengths.
A 3D axis can be used in contexts that require a 2D axis. The Z component is ignored.
Found a typo?