STATE_object_get_bounding_box

 

 


   The function returns the object bounding box.
   The function will also take into account all the rotation and 
   scaling of the object.
   The function is very fast so feel free to call it often.
  
   parameters:
  
  		box
  			Used to return the object bounding box	
  			box[0][0] is the minimum X
  			box[0][1] is the minimum Y
  			box[0][2] is the minimum Z
  			box[1][0] is the max X 
  			box[1][1] is the max Y
  			box[1][2] is the max Z
  
   See also: STATE_object_get_dimensions(), STATE_object_set_dimensions()
  
   Example:
  		
  		double box[2][3];
  		STATE_object_get_bounding_box(my_obj, box);
  
  

 

 

Go to page 1      Select API

 

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