Expand description
The crate provides a collection of utilities via re-exports on various hipparchus-* crates.
§License
All hipparchus-* crates are licensed under either of
- Apache License, Version 2.0 (LICENSE-APACHE)
- MIT License (LICENSE-MIT) at your option.
Modules§
- azimuth
- azimuth_
norm - azimuth_
ops - coords
- degrees
- distribution
- dms
- earth
- geodesic
- lpnorm
- mean
- metrics
- modulo
- movingavg
- point
- power
- radians
- sampling
- sequence
- sign
- text
- two
- unit
- value
- vector
Macros§
Structs§
- ANS66
- Airy1830
- Azimuth
- To leverage y/x representation of an angle to acquire better precision & performance in regular situations.
- Bessel1841
- CGCS2000
- Clarke1866
- Clarke1878
- Clarke1880
- Cumulative
Moving Average - Degree
Minute Second - Struct for angle via combination of degrees, minutes and seconds (DMS).
- Ellipsoid
- Ellipsoid parameters
- Exponential
Moving Average - GRS67
- GRS80
- Hayford
- Helmert1906
- IERS1989
- IERS1992
- Intl1924
- Intl1967
- Krasov40
- LatLon
- Latitude and longitude in degrees.
- Maupertuis1738
- Plessis1817
- SA1969
- Sphere
- Sphere
Authalic - Sphere
Normal - Sphere
Popular - WGS66
- WGS72
- WGS84
- Weighted
Moving Average
Enums§
- Climate
Zone - ClimateZone is a region of the earth defined by its climate.
- Coord
- Distribution
Metrics - Metrics for distributions
- Hemisphere
- Hemisphere is a half of the earth.
- Mean
Algorithm - The algorithm to use for computing the mean
- Meridian
- Meridian is a line of longitude.
- Orientation
- 4 directions on a 2D plane.
- Parallel
- Parallel is a line of latitude.
- Point
Metrics - Radius
- Radius of the earth
- Remainder
- Enum for various mod policies
- Sampling
Metrics - Metrics for sampling
- Sequence
- Sign
- Sign of a number
- Text
Distance - Unit
- Unit of angle measurement.
- Vector
Metrics - Trait for simularity metrics between two vectors
Constants§
- OBLIGUITY
- Obliguity of the ecliptic, the angle between the ecliptic and the celestial equator: 23.4392811° (or 23°26’21.412“), published by IERS-2022
Traits§
- Degrees
- Trait for angle in degrees
- Fp
- Trait for floating point types.
- ISO6709
- ISO6709 format of latitude/longitude value. See also in https://en.wikipedia.org/wiki/ISO_6709.
- LpNorm
- compute the Lp norm of a vector
- Mean
- Compute the mean of a vector
- Metrics
- Model
- Ellipsoid Model
- Modulo
- Trait for signed & unsigned mod operation The default implementtion of % (or fmod) on nagative value and negative base are not well defined as standard. It is highly depends on programming language implementation. In Rust/C++, fmod (or %) are running in truncated mode. See in https://en.wikipedia.org/wiki/Modulo for details.
- Moving
Average - NMEA0183
- The NMEA0183 format of latitude/longitude value
- Norm
- Power
- Trait for square and cube calculation
- Radians
- Trait for angle in radians
- Two
- Trait for floating point types with calculation with two
- With
Sign - Trait for types that have a sign