formZ SDK | 5.0 API Reference | System | Math
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
See Also
Function Set
Defined in