formZ SDK | 5.0 API Reference | System | Math

fz_math_2d_is_parl_line_segs

Description

Checks whether two 2d line segments (defined by their start and end points) are parallel.

Plugin Prototype

fzrt_boolean fz_math_2d_is_parl_line_segs(

fz_xy_td *

line1_start,

fz_xy_td *

line1_end,

fz_xy_td *

line2_start,

fz_xy_td *

line2_end )

Parameters

line1_start [Input]

start point of 2d line segment 1

line1_end [Input]

end point of 2d line segment 1

line2_start [Input]

start point of 2d line segment 2

line2_end [Input]

end point of 2d line segment 2

Returns

TRUE if parallel, FALSE if not or at least one of the lines is zero length

Availability

5.0.0.0

Example Files

util_math_2d.fsl

See Also

fz_math_3d_is_parl_lines

Function Set

fz_math_fset


Defined in

fz_math_api.h