public static Vec2[] GetConvexHull(Vec2[] pts) { return(Vec2d.ToVec2Array(GetConvexHull(Vec2d.FromVec2Array(pts)))); }