Function isConvex(pts: Vec2[]): boolean Builds the convex hull of a polygon. Note that even if the polygon is already convex, colinear points will be erased.returns true if the given polygon is convexsince v3001.0group Mathsubgroup Advanced