Anyone mind if I add:<div><br></div><div><div>double <span class="Apple-tab-span" style="white-space: pre; ">   </span>DistanceToPlane (double x[3])</div><div>void <span class="Apple-tab-span" style="white-space: pre; ">        </span>ProjectPoint (double x[3], double xproj[3])</div>
<div>void <span class="Apple-tab-span" style="white-space: pre; ">      </span>GeneralizedProjectPoint (double x[3], double origin[3], double normal[3], double xproj[3])</div><div>int <span class="Apple-tab-span" style="white-space: pre; ">    </span>IntersectWithLine (double p1[3], double p2[3], double &t, double x[3])</div>
<div><br></div><div>as convenience functions to:</div><div><br></div><div><div>static double <span class="Apple-tab-span" style="white-space:pre">        </span>DistanceToPlane (double x[3], double n[3], double p0[3])</div><div>
static void <span class="Apple-tab-span" style="white-space:pre">     </span>ProjectPoint (double x[3], double origin[3], double normal[3], double xproj[3])</div><div>static void <span class="Apple-tab-span" style="white-space:pre">  </span>GeneralizedProjectPoint (double x[3], double origin[3], double normal[3], double xproj[3])</div>
<div>static int <span class="Apple-tab-span" style="white-space:pre">   </span>IntersectWithLine (double p1[3], double p2[3], double n[3], double p0[3], double &t, double x[3])</div><div><br></div><div>The non-static functions would simply call the static functions and pass the instantiated plane object's normal and origin. This is the same idea that I added with vtkTriangle::ComputeArea()</div>
<div><br></div>Thanks,<br><br>David<br>
</div></div>