public static bool Cross(Polygon polygon, Segment segment) { return(SegmentWithPolygon.Cross(segment, polygon)); }
public static bool Cross(Polygon polygon1, Polygon polygon2) { // Si un des segments du premier polygone croise le second return(polygon1.Sides.Exists(s => SegmentWithPolygon.Cross(s, polygon2))); }