- compas.geometry.intersection_line_line_xy(l1, l2, tol=1e-06)
Compute the intersection of two lines, assuming they lie on the XY plane.
ab (tuple) – XY(Z) coordinates of two points defining a line.
cd (tuple) – XY(Z) coordinates of two points defining another line.
tol (float, optional) – A tolerance for membership verification. Default is
point or None – XYZ coordinates of intersection point if one exists, with Z = 0. Otherwise, None.