xample 
				1</h3>Define random polyhedron <tt>P</tt> in 2D.<pre class="programlisting"> P = ExamplePoly.randVrep; </pre>
<pre class="programlisting"></pre>Grid the polyhedron <pre class="programlisting">[X,Y] = P.meshGrid; </pre>
<pre class="programlisting"></pre> Define Z coordinate as <img src="../../../../../../fig/mpt/modules/geometry/sets/@Polyhedron/meshgrid1.png" alt="../../../../../../fig/mpt/modules/geometry/sets/@Polyhedron/meshgrid1.png">. <pre class="programlisting"> Z=10./(1+exp((X-Y).^2)); </