Crate spherical_geometry

Crate spherical_geometry 

Source
Expand description

§Spherical Geometry

spherical_geometry is a library for handling geometry on the surface of a sphere.

This library combines spherical and vector geometry to perform operations with points, great circles, great circle arcs… A great circle is an equivalent of a straight line in planar geometry - it is the shortest path between two points on a sphere.

Read more about it at https://github.com/stellarguesser/spherical-geometry

If it is not obvious how to use a function and there is not an example in the documentation, please open an issue/pull request in the repository. In the meantime before it gets added, you can try to take a look at the unit tests, which usually show how to use a function, which can serve as an example.

§Feature flags

  • serde: Enables serialization and deserialization of types using Serde.

Re-exports§

pub use great_circle::GreatCircle;
pub use great_circle_arc::GreatCircleArc;
pub use point::SphericalPoint;
pub use polygon::EdgeDirection;
pub use polygon::Polygon;

Modules§

great_circle
great_circle_arc
point
polygon

Enums§

SphericalError