get_intersection¶
- tfv.geometry.get_intersection(a, b, c, d)¶
Gets parameters for intersections of line’s AB and line’s CD.
- Parameters:
a (tuple) – Point A as tuple (x, y) of line’s AB
b (tuple) – Point B as tuple (x, y) of line’s AB
c (tuple) – Point C as tuple (x, y) of line’s CD
d (tuple) – Point D as tuple (x, y) of line’s CD
- Returns:
x – Line intersection parameters
- Return type:
tuple (t, u, lc, rc, lgi)