formZ SDK | 5.0 API Reference | Project | Modeling | Objects | Analysis
Description
Calculates the bounding volume of an object. The bounding volume is defined by the opposite corners of a world axes aligned cube. The two corners are returned in the min and max parameters.
Plugin Prototype
fzrt_error_td fz_objt_alys_get_objt_bbox(
fzrt_int | windex, |
obj, | |
min, | |
max ) |
Parameters
windex [Input]
project window index
obj [Input]
object
min [Result]
bottom left corner of the bounding box
max [Result]
top right corner of the bounding box
Returns
Error codes
MODEL_ERR_INVALID_TOPO - object isn't solid
Availability
5.0.0.0
Example Files
See Also
fz_objt_alys_get_objt_volume,, fz_objt_alys_get_objt_area, fz_objt_alys_get_objt_moments,,, , fz_objt_alys_set_objt_origin,, fz_objt_alys_get_objt_topo_type,, ,
Function Set
Defined in