Expand description
Coordinate systems, angle units, and reference spheroids.
Mirrors boost/geometry/core/cs.hpp (the cs::cartesian,
cs::spherical, cs::geographic, cs::polar tag templates and their
cs_tag family classifier) together with
boost/geometry/core/coordinate_system.hpp (the
traits::coordinate_system<Point> typedef that picks one of those
tags out per point type) and boost/geometry/srs/spheroid.hpp (the
reference ellipsoid carried alongside any geographic strategy).
Crate split per proposal §3.3: a coordinate system is a type with
an associated CoordinateSystem::Family, and algorithm strategies
bind on the family — never on the concrete CS — so that degree and
radian variants share one impl.
Structs§
- Cartesian
- Cartesian / rectangular coordinates.
- Cartesian
Family - Cartesian family marker.
- Degree
- Degrees (−180 … 180). Mirrors
boost::geometry::degree(boost/geometry/core/cs.hpp:41). - Geographic
- Geographic (lat / lon) coordinates on a spheroid in unit
U. - Geographic
Family - Geographic family marker.
- Polar
- Polar coordinates in unit
U. - Polar
Family - Polar family marker.
- Radian
- Radians (−π … π). Mirrors
boost::geometry::radian(boost/geometry/core/cs.hpp:51). - Spherical
- Spherical coordinates in unit
U. - Spherical
Family - Spherical family marker.
- Spheroid
- Reference ellipsoid for geographic coordinate systems.
Traits§
- Angle
Unit - Unit of plane angle.
- Coordinate
System - A coordinate system.
- FromF64
- Construct a scalar from an
f64literal.