astronomy

//astronomy/io.github.cosinekitty.astronomy/StateVector/StateVector

StateVector

fun StateVector(pos: Vector, vel: Vector, time: Time)

Combines a position vector and a velocity vector into a single state vector.

Parameters

   
pos A position vector.
vel A velocity vector.
time The common time that represents the given position and velocity.

fun StateVector(x: Double, y: Double, z: Double, vx: Double, vy: Double, vz: Double, t: Time)