formZ SDK | 5.0 API Reference | Project | Modeling | Objects | Topology
Description
Returns the number of segments in a curve.
The model_type parameter determines whether the segment
count is taken from the facetted or smooth topology.
model_type must be specified.
Plugin Prototype
fzrt_error_td fz_objt_curv_get_segt_count(
fzrt_int | windex, |
obj, | |
fzrt_int | cindx, |
model_type, | |
fzrt_int * | nsegt ) |
Parameters
windex [Input]
project window index
obj [Input]
object
cindx [Input]
curve index
model_type [Input]
object topology type
nsegt [Result]
number of segments
Returns
Error codes
Availability
5.0.0.0
Example Files
util_low_level.fsl
util_objt_alys_face.fsl
tool_star.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
Defined in