_09.png" alt=""> <img vspace="5" hspace="5" src="demoMeshShapes3d_10.png" alt=""> <h2>Cuboid<a name="5"></a></h2><pre class="codeinput">clf;

<span class="comment">% iterate on orientations</span>
<span class="keyword">for</span> i = 1:4
    cubo = [center 90 40 10 orientations(i, :)];

    <span class="comment">% generation of 3D image</span>
    img = discreteCuboid(lx, ly, lz, cubo);

    <span class="comment">% display image isosurface</span>
    clf; set(gca, <span class="string">'fontsize'</span>, 14)