formZ SDK | 5.0 API Reference | Project | Modeling | Objects | Control Objects | Rectangle Object

fz_objt_cnstr_rect

Description

Creates a Rectangle primitive

Plugin Prototype

fzrt_error_td fz_objt_cnstr_rect(

fzrt_int

windex,

double

width,

double

length,

fz_xyz_td *

origin,

fz_xyz_td *

xaxis,

fz_xyz_td *

yaxis,

fz_objt_ptr *

obj )

Parameters

windex [Input]

project window index

width [Input]

width of rectangle.

Range: width >= 0.0

length [Input]

width of rectangle.

Range: length >= 0.0

origin [Input, Optional]

origin

Default Value: {0,0,0}

xaxis [Input, Optional]

x axis of rectang;e

Default Value: {1,0,0}

yaxis [Input, Optional]

x axis of rectang;e

Default Value: {0,1,0}

obj [Result]

new object

Returns

Error codes

Availability

8.0.2.0

See Also

fz_objt_edit_rect_parm_set,

Function Set

fz_model_fset


Defined in

fz_objt_poly_api.h