Crate cheap_ruler[−][src]
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
CheapRuler | 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. |
PointOnLine | |
Rect |
Enums
DistanceUnit | Defines common units of distance that can be used |
Functions
interpolate |