SetCADState:

Path: AerospaceUtils/CAD

% Set the inertial state of a CAD model.
 This helper function inserts the state in the correct part of the data
 structure. The LVLH quaterion is also computed, it is used for camera pointing
 in the 3D views.
--------------------------------------------------------------------------
   Form:
   g = SetCADState( g, rECI, vECI )
--------------------------------------------------------------------------

   ------
   Inputs
   ------
   g          (.)      CAD model
   rECI      (3,1)     ECI position vector (km)
   vECI      (3,1)     ECI velocity vector (km/s)

   -------
   Outputs
   -------
   g          (.)     Updated CAD model

--------------------------------------------------------------------------

Children:

AerospaceUtils: Coord/QLVLH

Back to the AerospaceUtils Module page