">%</span>
<span class="comment">%</span>
<span class="comment">% ------</span>
<span class="comment">% Author: David Legland</span>
<span class="comment">% e-mail: david.legland@nantes.inra.fr</span>
<span class="comment">% Created: 2007-04-20</span>
<span class="comment">% Copyright 2007 INRA - BIA PV Nantes - MIAJ Jouy-en-Josas.</span>
</pre><h2>Draw a torus with horizontal axis as revolution axis<a name="3"></a></h2><pre class="codeinput">circle  = circleToPolygon([10 0 3], 50);
[x y t] = revolutionSurf