ass="string">'r'</span>, <span class="string">'linewidth'</span>, 2);
</pre><img vspace="5" hspace="5" src="demoGeom3d_01.png" alt=""> <h2>Create planes<a name="4"></a></h2><pre class="codeinput"><span class="comment">% create a plane from 3 points</span>
plane = createPlane(p1, p2, p3);

<span class="comment">% draw the plane. Clipping is automatically performed.</span>
drawPlane3d(plane);

<span class="comment">% create a line from a point and a direction vector</span>
p0 = [60 60 60];
n0 = [-10 1 10];
pl