situational_graphs_datasets.test_mindist_segments module

situational_graphs_datasets.test_mindist_segments.point_segment_distance(px, py, x1, y1, x2, y2)
situational_graphs_datasets.test_mindist_segments.segments_distance(x11, y11, x12, y12, x21, y21, x22, y22)

distance between two segments in the plane: one segment is (x11, y11) to (x12, y12) the other is (x21, y21) to (x22, y22)

situational_graphs_datasets.test_mindist_segments.segments_intersect(x11, y11, x12, y12, x21, y21, x22, y22)

whether two segments in the plane intersect: one segment is (x11, y11) to (x12, y12) the other is (x21, y21) to (x22, y22)