STATE_group_calculate_axis_system

 

 



  Gets the group axis system according to the orientation of its polygons.
  If there are more than one polygon with the same orientation
   it will choose first, those polygons that belong directly to the group.
   In order to define the group axis system we need to have
   at least two polygons with the orientation flag given.
   one polygon should have the orientation FRONT or BACK and
   the other should be BOTTOM or TOP
   If there is only one polygon with orientation, the function will complete
   the rest according to the computer's understanding ....
   If there is no polygon with a given orientation it will again try to build
   the best system it can ...
   Return value
  --------------
   OK or VR_ERROR. In any case the axis_system given is legal.
   in case of error the axis system will be the same as the world axis system (1,0,0; 0,1,0; 0,0,1)

 

 

Go to page 1      Select API

 

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