formZ SDK | 5.0 API Reference | System | Math

# fz_math_2d_isect_line_equs

Description

Calculates the intersection point of two 2d line equations (defined by their slope and offset).

Plugin Prototype

fzrt_error_td fz_math_2d_isect_line_equs(

double | line1_a,
double | line1_c,
double | line2_a,
double | line2_c,
fz_xy_td * | int_pt )

Parameters

line1_a [Input]

slope of 2d line equation 1

line1_c [Input]

offset of 2d line equation 1

line2_a [Input]

slope of 2d line equation 2

line2_c [Input]

offset of 2d line equation 2

int_pt [Result]

intersection point

Returns

Error codes

Availability

5.0.0.0

Example Files

util_math_2d.fsl

See Also

fz_math_2d_isect_line_segs,, fz_math_3d_isect_lines

Function Set

fz_math_fset

Defined in

fz_math_api.h