S2Polygon.intersects - multiple declarations

Function S2Polygon.intersects

Return true if this polygon intersects the given other polygon, i.e. if there is a point that is contained by both polygons.

bool intersects (
  S2Polygon b
);

Function S2Polygon.intersects

Return true if this polygon intersects the given polyline. This method returns an exact result; see Contains(S2Polyline) for details.

bool intersects (
  in const(s2.s2polyline.S2Polyline) b
);