formZ SDK | 5.0 API Reference | Project | Modeling | Objects | Analysis
Description
Gets the length of a segment of an object.
Plugin Prototype
fzrt_error_td fz_objt_alys_get_segt_length(
fzrt_int | windex, |
obj, | |
fzrt_int | sindx, |
model_type, | |
double * | length ) |
Parameters
windex [Input]
project window index
obj [Input]
object
sindx [Input]
segment index
model_type [Input]
object topology type. FZ_OBJT_MODEL_TYPE_UNSPEC may be used to use the object's natural model type.
length [Result]
segment length
Returns
Error codes
Availability
5.0.0.0
Example Files
See Also
fz_objt_alys_get_segt_geom_type, fz_objt_alys_get_segt_bbox, fz_objt_alys_get_pnt_on_segt, fz_objt_alys_get_segt_arc_parm, fz_objt_alys_get_segt_spline_parm,
Function Set
Defined in