formZ SDK | 5.0 API Reference | System | Math

# fz_math_3d_bisect_angle

Description

Calculates the 3d bisect vector of an angle defined by three 3d points (pt1, center, pt2).
center is the apex of the angle formed by the 3d vectors (center, pt1) and (center, pt2).

Plugin Prototype

fzrt_error_td fz_math_3d_bisect_angle(

fz_xyz_td * | pt1,
fz_xyz_td * | center,
fz_xyz_td * | pt2,
fz_xyz_td * | bisect_vec )

Parameters

pt1 [Input]

3d point 1

center [Input]

apex of the angle

pt2 [Input]

3d point 2

bisect_vec [Result]

3d bisect vector

Returns

Error codes

Availability

5.0.0.0

Example Files

util_math_3d.fsl

See Also

Function Set

fz_math_fset

Defined in

fz_math_api.h