D2M 面向对象的,平面数学库。 要素 Point 点 PointSet 点集 Line 直线 LineSegment 线段 Rect 矩形 Vector 向量 ConvexHull 凸包 算法 PointSet.prototype.convexHull(): ConvexHull 返回点集合的凸包