Contents:
pysal.lib
pysal.explore
pysal.viz
pysal.model
pysal.lib.cg.
convex_hull
返回一组点的凸壳。
凸壳(点列表)->多边形
实例
>>> points = [Point((0, 0)), Point((4, 4)), Point((4, 0)), Point((3, 1))] >>> convex_hull(points) [(0.0, 0.0), (4.0, 0.0), (4.0, 4.0)]