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

# fz_objt_curv_get_prev

Description

Returns the index of the previous curve of a given curve.
The model_type parameter determines whether the curve index is taken from the facetted or smooth topology. model_type must be specified.

Plugin Prototype

fzrt_error_td fz_objt_curv_get_prev(

fzrt_int | windex,
fz_objt_ptr | obj,
fzrt_int | cindx,
fz_objt_model_type_enum | model_type,
fzrt_int * | prev )

Parameters

windex [Input]

project window index

obj [Input]

object

cindx [Input]

curve index

model_type [Input]

object topology type

prev [Result]

previous curve index

Returns

Error codes

Availability

5.0.0.0

Example Files

util_low_level.fsl

See Also

fz_objt_face_get_curv_count, fz_objt_face_get_cindx, , fz_objt_curv_get_sindx, fz_objt_curv_get_next, fz_objt_curv_get_fromface, fz_objt_curv_is_hole

Function Set

fz_model_fset

Defined in

fz_objt_otop_api.h