Find the point of intersection of two lines given by points.

Call:

ac_request("geometry_calc_2d","get_cross_point_of_2lines",double l1sX, double l1sY,double l1eX,double l1eY, double l2sX, double l2sY, double l2eX,double l2eY,double& pXres, double& pYres);


Here:

l1sX,l1sY,l1eX, l1eY - coordinates of the start and end points of the first line,

l2sX,l2sY,l2eX, l2eY - coordinates of the start and end points of the second line.

The coordinates of the point of intersection of the lines are displayed in pXres and pYres.