public static bool IsConvex(this Polygon2d polygon) => polygon.HasWinding(Winding.CCW);
public static bool IsConvex(this Polygon2d polygon) { return(polygon.HasWinding(Winding.CCW)); }