formZ SDK | 5.0 API Reference | Project | Modeling | Objects | Analysis

fz_objt_alys_set_objt_axes

Description

Sets the object's axes. Note : these are the axes as seen in the query dialog. The axes are passed as two normalized vectors, which must be perpendicular to each other. The cross product of the x and y axes defines the z axis.

Plugin Prototype

fzrt_error_td fz_objt_alys_set_objt_axes(

fzrt_int

windex,

fz_objt_ptr

obj,

fz_xyz_td *

xaxis,

fz_xyz_td *

yaxis )

Parameters

windex [Input]

project window index

obj [Input]

object

xaxis [Input]

x axis

yaxis [Input]

y axis

Returns

Error codes

Availability

5.0.0.0

Example Files

util_objt_alys_objt.fsl

See Also

fz_objt_alys_get_objt_volume,, fz_objt_alys_get_objt_area, fz_objt_alys_get_objt_moments,, fz_objt_alys_get_objt_bbox, ,, fz_objt_alys_set_objt_origin, fz_objt_alys_get_objt_topo_type,, ,

Function Set

fz_model_fset


Defined in

fz_objt_alys_api.h