#### 10.2.11 GetSurface

• GetSurface( <f(u,v)> [, uMin+i*uMax, vMin+i*vMax, uNbLg+i*vNbLg] ).
• Description: returns the facets list of the surface parametrized by <f(u,v)> where f is a function of two variables u and v, with values in the space. The second parameter represents the interval of the parameter $u$ ($\left[-5,5\right]$ by default), the third parameter represents the interval of the parameter $v$ ($\left[-5;5\right]$ by default), the fourth parameter represents, under complex form, the lines number for $u$ and the number of lines for $v$ ($25$ lines by default).
• Exemple(s): surface drawing:

 \begin{texgraph}[name=GetSurface,export=pgf]    Marges(0,0,0,0), size(7.5),    S:=GetSurface([u+i*v,sin(u)+cos(v)],                   pi*(-1+i),pi*(-1+i)),    DrawFacet(S,[color:=Rgb(0.74,0.73,1)])   \end{texgraph}

GetSurface