API Reference

AstroFrames.AstroFramesModule
AstroFrames

Coordinate systems and reference frames for astrodynamics applications.

Provides types for defining coordinate systems with customizable origins and axes orientations, supporting common reference frames like ICRF, J2000, and VNB for example .

source
AstroFrames.CoordinateSystemType
CoordinateSystem{O,A}(origin, axes)
CoordinateSystem(origin, axes)

Coordinate system defined by an origin point and axes orientation.

Arguments

  • origin::AbstractPoint: Origin point of the coordinate system
  • axes::AbstractAxes: Axes orientation specification

Examples

# Earth-centered inertial coordinate system
cs = CoordinateSystem(earth, ICRFAxes())

# Spacecraft-relative VNB frame  
cs_vnb = CoordinateSystem(spacecraft_position, VNB())

See also: AbstractAxes, ICRFAxes, VNB.

source
AstroFrames.VNBType
VNB

Velocity-Normal-Binormal coordinate axes.

Trajectory-relative coordinate system where V is along velocity vector, N is normal to the orbital plane, and B completes the right-handed frame.

source
Base.showMethod
function Base.show(io::IO, cs::CoordinateSystem)

Delegate generic show to text/plain

source
Base.showMethod
Base.show(io::IO, ::MIME"text/plain", cs::CoordinateSystem)

Display a CoordinateSystem showing origin name and axes type.

source