is_intersection

tfv.geometry.is_intersection(a, b, c, d)

Determines if polyline AB crosses polyline CD.

Parameters:
  • a (tuple) – Point A as (x, y)

  • b (tuple) – Point B as (x, y)

  • c (tuple) – Point C as (x, y)

  • d (tuple) – Point D as (x, y)

Returns:

lgi – True if line AB crosses line CD

Return type:

logical np.ndarray