Expand description
§cheap-ruler
A collection of very fast approximations to common geodesic measurements. Useful for performance-sensitive code that measures things on a city scale.
This is a port of the cheap-ruler JS library and cheap-ruler-cpp C++ library into safe Rust.
Note: WGS84 ellipsoid is used instead of the Clarke 1866 parameters used by the FCC formulas. See cheap-ruler-cpp#13 for more information.
Structs§
- Cheap
Ruler - A collection of very fast approximations to common geodesic measurements. Useful for performance-sensitive code that measures things on a city scale. Point coordinates are in the [x = longitude, y = latitude] form.
- Point
OnLine - Rect
Enums§
- Distance
Unit - Defines common units of distance that can be used