Function buildConvexHull(pts: Vec2[]): Vec2[] returns the convex hull of the given polygon.since v4000.0group Mathsubgroup Advanced