FFEccTetrahedronGeometry:

Path: FormationFlying/Guidance

% Goals for tetrahedron geometry in an eccentric orbit.
 Compute the geometric goals for a formation that achieves a tetrahedron shape
 at a given true anomaly in an eccentric reference orbit.

--------------------------------------------------------------------------
   Usage:
   g = FFEccTetrahedronGeometry( nu, d, eul );
--------------------------------------------------------------------------

   ------
   Inputs
   ------
   nu          (1)  True anomaly where tetrahedron occurs
   d           (1)  Length of each side
   eul        (3,1) Euler angles defining the orientation
   centroid    (1)  Flag. If 1, centroid of first 3 points of tetrahedron
                     is at the origin. Otherwise (default) the first point
                     is at the origin.

   -------
   Outputs
   -------
   g           (.)  Geometric goals data structure

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