pyinterp.core.geodetic.LineString.intersects

LineString.intersects(self: pyinterp.core.geodetic.LineString, rhs: pyinterp.core.geodetic.LineString, wgs: pyinterp.core.geodetic.Spheroid | None = None) bool

Test if this linestring intersects with another linestring.

Parameters:
  • rhs – The linestring to use.

  • wgs – If specified, searches for the intersection using geographic

  • spheroid (coordinates with the specified)

  • the (otherwise searches for)

  • coordinates. (intersection using spherical)

Returns:

True if the linestring intersects this instance.