STATE_math_points_to_plane

 

 


   Get three points and calculate their plane equation (the plane equation: Ax+By+Cz+D=0 )
   Note that (pln[0],pln[1],pln[2]) are the normal of the plane.
   The direction of the normal (there are two possibilities) is determined according to
   the direction of the points. The Normal will point towards the side in which the points will be in clockwise order
   The return value is OK or VR_ERROR. note that we will get VR_ERROR if
   the points are on the same line or are all equal.

 

 

Go to page 1      Select API

 

Copyright © 2007 3DSTATE Corporation. www.3dstate.com