I'm using Turf.js for advanced geospatial analysis in my application, but can not find a method which checks if two polygons cross one another. Intersect method is not what I want, since if I have a tiny polygon and want to find polygon that crosses this tiny polygon, this method will return big overlapping polygons, that contain this smaller polygon.
Let me explain it visually. So, this is the polygon, that I have:
In this case, polygons intersect each other:
And in this case, I consider, that they do not intersect:
In the last case, the border of the green polygon does not cross the smaller polygon, so they do not intersect.
And my question is, if it is possible to implement this kind of intersection function in Turf.js?