formZ SDK | 5.0 API Reference | System | Math

# fz_math_3d_map_plane_from_pts

Description

Defines a map plane from 3 points. The first point is a point on the x axis of the map plane. The second point is the plane's origin. The third point is a point on the y axis of the map plane. The three points cannot be coincident and cannot be colinear. The origin->yaxis_pt vector does not necessarily have to be perpendicular to the origin->xaxis_pt vector.

Plugin Prototype

fzrt_error_td fz_math_3d_map_plane_from_pts(

fz_xyz_td * | xaxis_pt,
fz_xyz_td * | origin,
fz_xyz_td * | yaxis_pt,
fz_map_plane_td * | mplane )

Parameters

xaxis_pt [Input]

point on the xaxis of the map plane

origin [Input]

origin of the map plane

yaxis_pt [Input]

point on the yaxis of the map plane

mplane [Result]

the map plane

Returns

Error codes

Availability

5.0.0.0

Example Files

util_math_3d.fsl

See Also

, fz_math_3d_map_plane_from_equc, fz_math_3d_map_plane_to_world, fz_math_3d_map_plane_to_world_array, ,, fz_math_3d_map_plane_get_matrix

Function Set

fz_math_fset

Defined in

fz_math_api.h