intersects
Not an easy task. Some references: https://github.com/locationtech/jts/blob/master/modules/core/src/main/java/org/locationtech/jts/algorithm/RobustLineIntersector.java https://stackoverflow.com/questions/3838329/how-can-i-check-if-two-segments-intersect