def test_convex_hull_conformal_flats(self, rng): # noqa: F811 from clifford.tools.g3c import random_conformal_point from clifford.tools.point_processing import GAConvexHull point_list = [random_conformal_point(rng=rng) for i in range(100)] hull = GAConvexHull(point_list, hull_dims=3) flats = hull.conformal_flats()
def test_convex_hull_conformal_flats(self): from clifford.tools.g3c import random_conformal_point from clifford.tools.point_processing import GAConvexHull point_list = [random_conformal_point() for i in range(100)] hull = GAConvexHull(point_list, hull_dims=3) flats = hull.conformal_flats()
def test_convex_hull_vertices(self, rng): # noqa: F811 from clifford.tools.g3c import random_conformal_point from clifford.tools.point_processing import GAConvexHull point_list = [random_conformal_point(rng=rng) for i in range(100)] hull = GAConvexHull(point_list, hull_dims=3) conf_vertices = [hull.GApoints[i] for i in hull.vertices]
def test_convex_hull_facets(self): from clifford.tools.g3c import random_conformal_point from clifford.tools.point_processing import GAConvexHull point_list = [random_conformal_point() for i in range(100)] hull = GAConvexHull(point_list, hull_dims=3) facets = hull.conformal_facets()