formZ SDK | 5.0 API Reference | Project | Modeling | Objects | Editing Operations

# fz_objt_edit_deform_random_norm

Description

Applies a random deformation to all points of an object. The random disturbance is applied along the average face normal direction at each point.
This deformation only works on facetted objects.
Objects should be sufficiently meshed as this function simply disturbs the points of an object.

Plugin Prototype

fzrt_error_td fz_objt_edit_deform_random_norm(

fzrt_int | windex,
fz_objt_ptr | obj,
double | min,
double | max )

Parameters

windex [Input]

project window index

obj [Input, Result]

object (must be facetted)

min [Input]

minimum distance to disturb points

Range: min < max

max [Input]

maximum distance to disturb points

Range: max > min

Returns

Error codes

Availability

5.0.0.0

Example Files

util_objt_deform.fsl

See Also

, fz_objt_edit_deform_taper,, , fz_objt_edit_deform_radial_shear, fz_objt_edit_deform_bend, fz_objt_edit_deform_bezier,,

Function Set

fz_model_fset

Defined in

fz_objt_api.h