formZ SDK | 5.0 API Reference | System | Math

# fz_math_2d_is_pt_on_line_equ

Description

Given a 2d line equation (defined by it's slope and offset) and a 2d point, determines whether the point is on that line (within a tolerance).

Plugin Prototype

fzrt_boolean fz_math_2d_is_pt_on_line_equ(

double | line_a,
double | line_c,
fz_xy_td * | pt )

Parameters

line_a [Input]

slope of 2d line equation

line_c [Input]

offset of 2d line equation

pt [Input]

2d point

Returns

TRUE if point is on the line (within a tolerance), FALSE otherwise

Availability

5.0.0.0

Example Files

util_math_2d.fsl

See Also

fz_math_3d_is_pt_on_line

Function Set

fz_math_fset

Defined in

fz_math_api.h