formZ SDK | 5.0 API Reference | System | Math

fz_math_4x4_set_refl_line_mat

Description

Initializes a 4x4 matrix to a reflection matrix.
Reflects about an arbitrary 3d line, defined by two points. This is equal to a rotation of 180 degrees about that line.

Plugin Prototype

fzrt_error_td fz_math_4x4_set_refl_line_mat(

fz_mat4x4_td *

mat,

fz_xyz_td *

line_pt1,

fz_xyz_td *

line_pt2 )

Parameters

mat [Input, Result]

4x4 matrix

line_pt1 [Input]

point 1 of 3d line to reflect matrix about

line_pt2 [Input]

point 2 of 3d line to reflect matrix about

Returns

Error codes

Availability

5.0.0.0

Example Files

util_math_matrix.fsl

See Also

, fz_math_4x4_set_rot_cntr_mat, , fz_math_4x4_set_refl_plane_mat,

Function Set

fz_math_fset


Defined in

fz_math_api.h