S2CrossingEdgeQuery is used to find edges or shapes that are crossed by an edge. Here is an example showing how to index a set of polylines, and then find the polylines that are crossed by a given edge AB:
A parameter that controls the reporting of edge intersections.