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

fz_objt_get_point_count

Description

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

Plugin Prototype

fzrt_error_td fz_objt_get_point_count(

fzrt_int

windex,

fz_objt_ptr

obj,

fz_objt_model_type_enum

model_type,

fzrt_int *

npnt )

Parameters

windex [Input]

project window index

obj [Input]

object

model_type [Input]

object topology type

npnt [Result]

number of points

Returns

Error codes

Availability

5.0.0.0

Example Files

util_low_level.fsl
tool_star.fsl

See Also

fz_objt_get_face_count,, fz_objt_get_segt_count

Function Set

fz_model_fset


Defined in

fz_objt_otop_api.h