Encounter geometry helpers for conjunction assessment.
This module builds the relative frame used by collision-probability calculations and projects states and covariance into the encounter plane.
It is the geometry layer beneath Orbis.Collision.
Summary
Functions
Project a 3x3 ECI covariance matrix into the 2D encounter plane (x, z).
Build an orthonormal encounter frame from two objects' states.
Types
Functions
@spec encounter_plane_covariance(Orbis.Encounter.Frame.t(), [[float()]]) :: [ [float()] ]
Project a 3x3 ECI covariance matrix into the 2D encounter plane (x, z).
@spec frame(vec3(), vec3(), vec3(), vec3()) :: {:ok, Orbis.Encounter.Frame.t()} | {:error, String.t()}
Build an orthonormal encounter frame from two objects' states.
Returns {:ok, %Frame{}} or {:error, reason}.