formZ SDK | 5.0 API Reference | Project | Modeling | Objects | Analysis

fz_objt_alys_get_segt_bbox

Description

Calculates the bounding volume of a segment 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_segt_bbox(

fzrt_int

windex,

fz_objt_ptr

obj,

fzrt_int

sindx,

fz_objt_model_type_enum

model_type,

fz_xyz_td *

min,

fz_xyz_td *

max )

Parameters

windex [Input]

project window index

obj [Input]

object

sindx [Input]

segment index

model_type [Input]

object topology type. FZ_OBJT_MODEL_TYPE_UNSPEC may be used to use the object's natural model type.

min [Result]

bottom left corner of bounding box

max [Result]

top right corner of bounding box

Returns

Error codes

Availability

5.0.0.0

Example Files

util_objt_alys_face.fsl

See Also

fz_objt_alys_get_segt_geom_type,, fz_objt_alys_get_pnt_on_segt, fz_objt_alys_get_segt_arc_parm, fz_objt_alys_get_segt_spline_parm,

Function Set

fz_model_fset


Defined in

fz_objt_alys_api.h