is_point_on_line
Determine if a point is on a line defined by two points.
Call:
bool bres = ac_request("geometry_calc_2d","is_point_on_line",double P1X, double P1Y, double P2X, double P2Y, double PointX, double PointY);
P1X,P1Y,P2X,P2Y - start and end points of the line.
PointX, PointY - coordinates of the studied point.
The result of bres is 1 or 0 depending on whether the point lies on the line or not.