touches static method
Test if the two geometries have at least one boundary point in common, but no interior points.
This spatial relationship test is based on the Dimensionally Extended 9 Intersection Model (DE-9IM) developed by Clementini, et al., and is discussed further in the web pages: DE-9IM and Spatial relationships.
Supports true curves.
Parameters:
geometry1
— A geometry object.geometry2
— Another geometry object.
Return Value: True if the two geometries touch, false otherwise.