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

fz_objt_edit_deform_taper

Description

Applies a taper deformation to an object. min and max are the vertical extents of the bounding box with 0.0 <= min < max <= 1.0 plane_rot is a zyx rotation of the work coordinate which orients the axis of deformation. center determines the pivot point of the deformation. sx_sy is the scale of the taper measured at the extreme of the deform bounding box, opposite the center and is specified relative to the rotated coordinate . The taper axis always runs through the center of the bounding box of the object. The bounding box is aligned with the axes of the rotated coordinate .

Plugin Prototype

fzrt_error_td fz_objt_edit_deform_taper(

fzrt_int

windex,

fz_objt_ptr

obj,

fz_objt_dfrm_center_enum

center,

fz_map_plane_td *

plane,

double

min,

double

max,

fz_xy_td *

dx_dy,

fz_xy_td *

sx_sy )

Parameters

windex [Input]

project window index

obj [Input, Result]

object

center [Input]

pivot point of the deformation

plane [Input]

plane which orients the axis of deformation

min [Input]

minimum vertical extents of the deform bounding box

Range: 0.0 <= min < max

max [Input]

maximum vertical extents of the deform bounding box

Range: min < max <= 1.0

dx_dy [Input, Optional]

the distance of the taper measured at the extreme of the

sx_sy [Input, Optional]

the scale of the shear measured at the extreme of the

Returns

Error codes

Availability

5.0.0.0

Example Files

util_objt_deform.fsl

See Also

,,, 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