EllipsePatch:

Path: FormationFlying/Collision

% 2D elliptical patch, with axes a along x and b along y

   Since version 7.
--------------------------------------------------------------------------
   Form:
   [v,f] = EllipsePatch( aX, bY, n )
--------------------------------------------------------------------------

   ------
   Inputs
   ------
   aX      (1,1)      X-axis dimension
   bY      (1,1)      Y-axis dimension
   n       (1,1)      Number of facets

   -------
   Outputs
   -------
   v (n,2)   Vertices
   f (n,3)   Faces

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

Children:

Common: Graphics/NewFig

Back to the FormationFlying Module page