formZ SDK | 5.0 API Reference | Project | Modeling | Objects | Utility
Description
How the default object axes and object centroid are placed. Used by fz_syst_get_layer_opts_parm_data and fz_syst_set_layer_opts_parm_data when the parameter id is FZ_OBJT_OPTS_AXES or FZ_OBJT_OPTS_CENTROID.
enum fz_objt_loc_type_enum {
FZ_OBJT_LOC_PER_OBJECT,
FZ_OBJT_LOC_COG,
FZ_OBJT_LOC_AVERAGE,
FZ_OBJT_LOC_BOUNDING };
Members
FZ_OBJT_LOC_PER_OBJECT
Per object. The origin and axes are positioned according to the type of object.
FZ_OBJT_LOC_COG
Center of gravity. The origin of the axes is positioned at the exact center of the object (mass). The axes are aligned to the active reference plane.
FZ_OBJT_LOC_AVERAGE
Average of points. The origin of the axes is positioned at the average of all the coordinate points of the object. The axes are aligned to the active reference plane.
FZ_OBJT_LOC_BOUNDING
Center of bounding volume. The centroid is placed at the midpoint between the minimum and maximum of the bounding volume in each of the directions (x, y, and z). The axes are aligned to the active reference plane.
Availability
5.0.0.0
See Also
Defined in