Skip to main content

Module lat

Module lat 

Source
Expand description

This module provides the Latitude type, crate::lat! macro, and associated constants.

Structs§

Latitude
A geographic latitude value, constrained to −90 ≤ degrees ≤ 90.

Constants§

ANTARCTIC_CIRCLE
The Antarctic Circle, approximately 66.5° S latitude.
ARCTIC_CIRCLE
The Arctic Circle, approximately 66.5° N latitude.
EQUATOR
The equator, at 0° latitude.
NORTH_POLE
The geographic North Pole, at 90° N latitude.
SOUTH_POLE
The geographic South Pole, at 90° S latitude.
TROPIC_OF_CANCER
The Tropic of Cancer, approximately 23.5° N latitude.
TROPIC_OF_CAPRICORN
The Tropic of Capricorn, approximately 23.5° S latitude.