formZ SDK | 5.0 API Reference | System | Math

fz_math_3d_isect_line_plane

Description

Finds the intersection point of a 3d line (defined by it's slope and offset) with a plane.

Plugin Prototype

fzrt_error_td fz_math_3d_isect_line_plane(

fz_xyz_td *

line_start,

fz_xyz_td *

line_end,

fz_plane_equ_td *

equ,

fz_xyz_td *

int_pt )

Parameters

line_start [Input]

start point of 3d line segment

line_end [Input]

end point of 3d line segment

equ [Input]

plane

int_pt [Result]

3d intersection point

Returns

Error codes

Availability

5.0.0.0

Example Files

util_math_3d.fsl

See Also

fz_math_3d_isect_line_cube,, fz_math_3d_isect_lines, fz_math_3d_isect_3_planes, fz_math_3d_isect_2_planes

Function Set

fz_math_fset


Defined in

fz_math_api.h