<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 12pt;
font-family:Calibri
}
--></style></head>
<body class='hmmessage'><div dir='ltr'><div><div dir="ltr">Hey guys,&nbsp;<div><br></div><div>I was wondering if you guys knew if &nbsp;"vtkPlane::DistanceToPlane(double [3])" returns the shortest distance to a the plane or does it return the distance from the input point to the origin?</div><div><br></div><div>I would like to find the shortest (perpendicular) distance from a point in 3d space to the plane. I do not have the value of the point on the plane that is perpendicular to the point in space.&nbsp;</div><div><br></div><div>Is there a vtk function that can give me this point on the plane(though it is not necessary I have this point, I am really only concerned with the distance to the plane). I'd rather not write a function to do this.</div><div><br></div><div>Rafay</div>                                               </div></div>                                               </div></body>
</html>