formZ SDK | 5.0 API Reference | Project | Modeling | Objects | Editing Operations

# fz_objt_edit_section3d_optimized

Description

Creates a 3d section of an object. The object must be a solid or surface. The plane is defined by *equ. As it is possible that more than one object is created, the pointers of the resulting objects are stored in the entity list passed in. Only those objects, that are truely cut produce new objects in the entity list. If an object is completely on one side of the plane, no new objects are generated. Note, that unlike fz_objt_edit_section3d, this api does not use a join_volumes parameter. Separate objects per volume are always created.

Plugin Prototype

fzrt_error_td fz_objt_edit_section3d_optimized(

fzrt_int | windex,
fz_objt_ptr | obj,
fz_plane_equ_td * | equ,
fz_enty_list_ptr | ent_list )

Parameters

windex [Input]

project window index

obj [Input]

object (must be a solid or a surface)

equ [Input]

plane

ent_list [Result]

list with new object pointers

Returns

Error codes

Availability

6.5.6.0

Example Files

util_objt_section_volumes.fsl

See Also

,,,, fz_objt_edit_trim_with_surface,,, fz_objt_edit_split_with_line, fz_objt_edit_stitch_faces,, , fz_objt_edit_section2d, fz_objt_edit_section3d, fz_objt_edit_volumes_join,

Function Set

fz_model_fset

Defined in

fz_objt_api.h