Function isPolygonComplex

Returns true if the polygon is complex (self intersecting) Simple bruteforce method, O(n²) complexity

bool isPolygonComplex (
  in const(gfm.math.vector.Vector!(float,2)[]) polygon
);