formZ SDK | 5.0 API Reference | System | Math

fz_math_3d_isect_2_planes

Description

Calculates the 3d intersection line segment (defined by it's start and end points) of two planes.
Note : the start and end points of the line segment are chosen arbitrarily.

Plugin Prototype

fzrt_error_td fz_math_3d_isect_2_planes(

fz_plane_equ_td *

plane1,

fz_plane_equ_td *

plane2,

fz_xyz_td *

int_line_start,

fz_xyz_td *

int_line_end )

Parameters

plane1 [Input]

plane 1

plane2 [Input]

plane 2

int_line_start [Result]

start point of 3d line segment

int_line_end [Result]

end point of 3d line segment

Returns

Error codes

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_3_planes

Function Set

fz_math_fset


Defined in

fz_math_api.h