struct

Kozai::SGP4::State

Inherits Struct < Value < Object

The result of a propagation.

Position and velocity are in the TEME frame, in kilometres and kilometres per second. Check #ok? before using them: on failure they are zero.

Constructors

failure(error : ErrorCode, minutes_from_epoch : Float64) : State

A failed state carrying error.

Source
new(position : Vector3, velocity : Vector3, minutes_from_epoch : Float64, error : ErrorCode = ErrorCode::None)
Source

Instance methods

error

Why the propagation failed, or ErrorCode::None.

Source
minutes_from_epoch

Minutes from the element set epoch this state was computed for.

Source
ok?

Whether the propagation succeeded.

Source
position

Position in the TEME frame, kilometres.

Source
velocity

Velocity in the TEME frame, kilometres per second.

Source