Skip to main content

Module systems

Module systems 

Source
Expand description

Cartesian, spherical and cylindrical coordinates: point conversion, scale factors and local unit-vector frames.

Spherical coordinates are (r, θ, φ) with θ the polar angle from +z in [0, π] and φ the azimuth from +x; cylindrical coordinates are (ρ, φ, z). A Position keeps the coordinates it was given, so angles survive conversions between the angular systems and the local frame stays well defined at the origin and on the polar axis (where Cartesian input could not determine it).

Structs§

Position
A point expressed in a particular coordinate system.

Enums§

CoordinateSystem
A three-dimensional coordinate system.