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.returnstrue if the given polygon is convexsincev3001.0groupMathsubgroupAdvanced