API Reference

This section provides a detailed reference for the sargeom package, including its modules, classes, and functions.

sargeom

Classes

Trajectory(timestamps, positions[, orientations])

A Trajectory object represents a sequence of positions and orientations over time.

Variables

TRAJ_DTYPE

Built-in mutable sequence.

Class Inheritance Diagram

Inheritance diagram of sargeom.trajectory.Trajectory

sargeom.coordinates

This module allows you to manipulate and transform terrestrial coordinates in the WGS84 geodetic system. By default, distances are expressed in meters and angles in degrees.

Functions

negativePiToPi(angle[, degrees])

Converts angles to the range from -180 to 180 degrees.

Classes

Cartesian3(x, y, z[, origin])

A Cartesian3 object represents the coordinates of a point or a vector in a 3D Cartesian coordinate system.

CartesianECEF(x, y, z[, origin])

A geocentric Earth-centered Earth-fixed (ECEF) system uses the Cartesian coordinates (X, Y, Z) to represent the 3D components of a position or a vector.

CartesianLocalENU(x, y, z[, origin])

A local East-North-Up (ENU) system uses the Cartesian coordinates (xEast, yNorth, zUp) to represent position relative to a local origin.

CartesianLocalNED(x, y, z[, origin])

A North-East-Down (NED) system uses the Cartesian coordinates (xNorth, yEast, zDown) to represent position relative to a local origin.

Cartographic(longitude, latitude[, height, ...])

A Cartographic object represents the position of a point in a geodetic coordinate system.

Class Inheritance Diagram

Inheritance diagram of sargeom.coordinates.cartesian.Cartesian3, sargeom.coordinates.cartesian.CartesianECEF, sargeom.coordinates.cartesian.CartesianLocalENU, sargeom.coordinates.cartesian.CartesianLocalNED, sargeom.coordinates.cartographic.Cartographic