formZ SDK | 5.0 API Reference | Project | Modeling | Objects | Editing Operations
Description
Creates triangular faces on an object. Optionally, only selected faces can be triangulated. This is specified through the face_list array, which contains the indices of the faces to be triangulated. If face_list is NULL, the whole object is triangulated.
Plugin Prototype
fzrt_error_td fz_objt_edit_triangulate(
fzrt_int | windex, |
obj, | |
triang_type, | |
non_planar_only, | |
strict_planarity, | |
fzrt_int * | face_list, |
fzrt_int | n_face_list ) |
Parameters
windex [Input]
project window index
obj [Input, Result]
object
triang_type [Input]
type of triangulation
non_planar_only [Input]
if TRUE, only the non planar faces are triangulated, otherwise all faces are triangulated
strict_planarity [Input]
if TRUE, the triangulation process is more sensitive to smaller disturbances in the planarity of a face
face_list [Input, Optional]
list of faces to triangulate
n_face_list [Input, Optional]
number of faces in list
Returns
Error codes
Availability
5.0.0.0
Example Files
Function Set
Defined in