STATE_polygon_get_plane

 

 


  This function returns the polygon plane equation (Ax+By+Cz+D=0)
  The function returns the equation A,B,C,D. Note the (A,B,C) is the plane normal
  in other "words" N==( plane[0], plane[1], plane[2]).
  If the polygons belongs to a dynamic object, the function will return the plane in object space
  (which means that you will always get the same plane no mater how much the object moves or rotates)
  to get in world space also the planes of the polygons which belong to dynamic objects, call
   STATE_polygon_get_plane_extended.
   Example:
  		double plane[4];
  		STATE_polygon_get_plane(my_poly, plane);
  
   see also STATE_polygon_get_plane_extended()

 

 

Go to page 1      Select API

 

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