Crate mapproj

Source

Re-exports§

pub use math::CustomFloat;

Modules§

conic
Module containing all implemented conic projections (each projection is in its own sub-module).
cylindrical
Module containing all implemented cylindrical projections (each projection is in its own sub-module).
hybrid
Module containing all implemented hybrid projections (each projection is in its own sub-module).
img2celestial
Module containing the structure to convert back on forth from Image coordinates to Celestial coordinates.
img2proj
Module containing the structure to convert back on forth from Image coordinates to Intermediate coordinates, i.e. coordinates in the projection plane.
math
Utility module defining a few mathematical functions like sinc (sinus cardinal = sin(x) / x).
pseudocyl
Module containing all implemented pseudocylindrical projections (each projection is in its own sub-module).
sip
Implementation of the SIP standard.
zenithal
Module containing all implemented zenithal projections (each projection is in its own sub-module).

Structs§

CenteredProjection
Structure performing a rotation (due to non-vernal projection origin) before projecting/after deprojecting.
ImgXY
X, Y coordinates in an image
LonLat
Equatorial coordinates.
ProjBounds
The X and Y ranges bounds of a projection in the Euclidean projection plane.
ProjXY
X, Y coordinates in the 2D projection plane
XYZ
Euclidean coordinates (supposedly normalized to 1).

Traits§

CanonicalProjection
Projection centered around the vernal point.
Projection
Generic projection (i.e. not necessarily centered around the vernal point).