DRAWSPHERICALTRIANGLE Draw a triangle on a sphere.

   drawSphericalTriangle(SPHERE, PT1, PT2, PT3);
   Draws the spherical triangle defined by the three input 3D points and
   the reference sphere. 
   Points are given as 3D points, and are projected onto the sphere. The
   order of the points is not relevant. 

   drawSphericalTriangle(SPHERE, PT1, PT2, PT3, OPTIONS);
   Allows to specify plot options for spherical edges, in the form of
   parameter name-value pairs.

   Example
     % Draw a sphere and a spherical triangle on it
     s = [0 0 0 2];
     pts = [1 0 0;0 -1 0;0 0 1];
     drawSphere(s); hold on;
     drawSphericalTriangle(s, pts(1,:), pts(2,:), pts(3,:), 'linewidth', 2);
     view(3); axis equal;

   See also
   drawSphere, fillSphericalTriangle, drawSphericalPolygon,
   drawSphericalEdge

   ---------
   author : David Legland 
   INRA - TPV URPOI - BIA IMASTE
   created the 22/02/2005

Package: matgeom