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

fz_objt_get_curv_count

Description

Returns the number of curves in an object.
The model_type parameter determines whether the curve count is taken from the facetted or smooth topology.
If model_type is not specified, the "natural" curve count is returned (i.e. smooth curve count if object is smooth, facetted curve count otherwise).

Plugin Prototype

fzrt_error_td fz_objt_get_curv_count(

fzrt_int

windex,

fz_objt_ptr

obj,

fz_objt_model_type_enum

model_type,

fzrt_int *

ncurv )

Parameters

windex [Input]

project window index

obj [Input]

object

model_type [Input]

object topology type

ncurv [Result]

number of curves

Returns

Error codes

Availability

5.0.0.0

Example Files

util_low_level.fsl
util_objt_alys_face.fsl

See Also

fz_objt_get_face_count, fz_objt_get_segt_count, fz_objt_get_point_count

Function Set

fz_model_fset


Defined in

fz_objt_otop_api.h