Crate cheap_ruler

source ·
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

  • 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.

Enums

  • Defines common units of distance that can be used

Functions