formZ SDK | 5.0 API Reference | Project | Modeling | Objects | Analysis
Description
Gets the object's bounding volume. This function is similar to the API
fz_objt_alys_get_objt_bbox, except, that it returns the bounding volume
of the object aligned with the object's axes (as calculated by ).
This bounding volume is described by eight corner points in the following order :
bvol[0] = xmin, ymin, zmin
bvol[1] = xmin, ymax, zmin
bvol[2] = xmax, ymax, zmin
bvol[3] = xmax, ymin, zmin
bvol[4] = xmin, ymin, zmax
bvol[5] = xmin, ymax, zmax
bvol[6] = xmax, ymax, zmax
bvol[7] = xmax, ymin, zmax
Note, that the bvol array must be allocated to at least 8 points by the
calling code.
Plugin Prototype
fzrt_error_td fz_objt_alys_get_objt_bvol(
fzrt_int | windex, |
obj, | |
bvol ) |
Parameters
windex [Input]
project window index
obj [Input]
object
bvol [Result]
array with 8 points, containing the bounding volume corners
Returns
Error codes
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,, ,, fz_objt_alys_get_objt_bbox
Function Set
Defined in