formZ SDK | 5.0 API Reference | System | Math

# fz_math_3d_isect_3_planes

Description

Calculates the 3d intersection point of three planes.

Plugin Prototype

fzrt_error_td fz_math_3d_isect_3_planes(

fz_plane_equ_td * | plane1,
fz_plane_equ_td * | plane2,
fz_plane_equ_td * | plane3,
fz_xyz_td * | int_pt )

Parameters

plane1 [Input]

plane 1

plane2 [Input]

plane 2

plane3 [Input]

plane 3

int_pt [Result]

3d intesection point

Returns

Error codes
FZ_MATH_ERR_PLANES_PARALLEL all three plane normals are contained in one plane (i.e two or more plane are parallel or the lines of intersection between the planes are parallel)

Availability

5.0.0.0

Example Files

util_math_3d.fsl

See Also

fz_math_3d_isect_line_plane, fz_math_3d_isect_line_cube,, fz_math_3d_isect_lines, fz_math_3d_isect_2_planes

Function Set

fz_math_fset

Defined in

fz_math_api.h