formZ SDK | 5.0 API Reference | System | Math
Description
Given a 2d line equation (defined by it's slope and offset),
creates a 2d unit length line segment (defined by it's start and end points).
Note : the start and end point of the line segment are chosen arbitrarily.
Plugin Prototype
fzrt_error_td fz_math_2d_line_seg_from_equ(
double | line_equ_a, |
double | line_equ_c, |
fz_xy_td * | line_start, |
fz_xy_td * | line_end ) |
Parameters
line_equ_a [Input]
slope of 2d line equation
line_equ_c [Input]
offset of 2d line equation
line_start [Result]
start point of 2d line segment
line_end [Result]
end point of 2d line segment
Returns
Error codes
Availability
5.0.0.0
Example Files
See Also
Function Set
Defined in