Crate hipparchus

Crate hipparchus 

Source
Expand description

The crate provides a collection of utilities via re-exports on various hipparchus-* crates.

RepositoryFeaturesCrateDocumentation
hipparchusre-exportsCrates.ioDocs
hipparchus-azangle calculation and conversionCrates.ioDocs
hipparchus-geogeospatial calculationCrates.ioDocs
hipparchus-meanmean & moving averageCrates.ioDocs
hipparchus-metricsvarious metrics calculationCrates.ioDocs
hipparchus-seqnumber sequence factoryCrates.ioDocs

§License

All hipparchus-* crates are licensed under either of

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§

ellipsoid_model
impl_degrees_signed
impl_degrees_unsigned
impl_radians

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
CumulativeMovingAverage
DegreeMinuteSecond
Struct for angle via combination of degrees, minutes and seconds (DMS).
Ellipsoid
Ellipsoid parameters
ExponentialMovingAverage
GRS67
GRS80
Hayford
Helmert1906
IERS1989
IERS1992
Intl1924
Intl1967
Krasov40
LatLon
Latitude and longitude in degrees.
Maupertuis1738
Plessis1817
SA1969
Sphere
SphereAuthalic
SphereNormal
SpherePopular
WGS66
WGS72
WGS84
WeightedMovingAverage

Enums§

ClimateZone
ClimateZone is a region of the earth defined by its climate.
Coord
DistributionMetrics
Metrics for distributions
Hemisphere
Hemisphere is a half of the earth.
MeanAlgorithm
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.
PointMetrics
Radius
Radius of the earth
Remainder
Enum for various mod policies
SamplingMetrics
Metrics for sampling
Sequence
Sign
Sign of a number
TextDistance
Unit
Unit of angle measurement.
VectorMetrics
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.
MovingAverage
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
WithSign
Trait for types that have a sign