STATE_point_get_xyz

 

 


   Gets the point (x,y,z) coordinate.
  Please note that if the point belongs to a dynamic object then the returned (x,y,z) will be in OBJECT_SPACE.
   To get the point in WORLD_SPACE you should write the following code:
  
   double xyz[3];
   STATE_point_get_xyz(my_point, xyz);
   double xyz_world_space[3]
   STATE_object_convert_point_to_world_space(my_object, xyz, xyz_world_space);

 

 

Go to page 1      Select API

 

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