def compute(self): """ABC API""" self.id = "CH({})".format(self._qhull_options) scipy_ConvexHull.__init__(self, self._points, self._incremental, self._qhull_options)
def __init__(self, points): """A customized constructor. """ ConvexHull.__init__(self, points) indices = self.vertices points = self.points # Customize self.anchors = points[indices]
def __init__(self, points): ConvexHull.__init__(self, points) self.dim = range(self.points.shape[1]) self.n = range(len(self.points))
def compute(self): """ABC API""" scipy_ConvexHull.__init__(self, self._points, self._incremental, self._qhull_options)
def __init__(self, points): ConvexHull.__init__(self, points)