Module geodesy.geocentric

Represent a position as X, Y and Z measured from the Earth's centre.

Use GeocentricCoordinate for reference-frame transformations or when another system works with Earth-centred Cartesian coordinates (ECEF). All three distances use the same unit. The coordinate does not select a datum or ellipsoid; pass those to operations that need them.

Units

X, Y, and Z share one caller-selected linear unit. When used with an ellipsoid or transformation parameters, all participating linear values must use compatible units.

Performance

Checked construction and value access require no allocation.

See Also

GeodeticCoordinate, TopocentricCoordinate, GeocentricTranslation, Helmert7

Date

September 26, 2026

Structs

NameDescription
GeocentricCoordinate A geocentric Cartesian coordinate (x, y, z).