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

# fz_objt_face_smod_get_fact_faces

Description

Returns the facetted faces that represent a smooth face. The face of the smooth object is identified by the findx argument. The facetted faces that belong to a smooth object are all in sequential order. The starting face is returned by the fstart argument. The number of faces that belong to the smooth face is returned by the nface argument. Recall that a smooth object has both facetted and smooth topology and geometry. The user can only pick the smooth faces, but the facetted faces are used for display purpose. Many of the API functions which retrieve information about faces, segments or curves can do this for the smooth or the facetted topoplogy.

Plugin Prototype

fzrt_error_td fz_objt_face_smod_get_fact_faces(

fzrt_int | windex,
fz_objt_ptr | obj,
fzrt_int | findx,
fzrt_int * | fstart,
fzrt_int * | nface )

Parameters

windex [Input]

project window index

obj [Input]

object

findx [Input]

The index of the smooth face, for which to get the facetted faces

fstart [Result]

The index of the first facetted face belonging to the smooth face

nface [Result]

The number of facetted faces belonging to the smooth face

Returns

Error codes

Availability

5.0.0.0

Example Files

util_wire_topo.fsl

Function Set

fz_model_fset

Defined in

fz_objt_otop_api.h