def test_triangular_mesh(): datasets, specs = three_faces_sheet() eptm = Epithelium("3faces_2D", datasets, specs) vertices, faces = eptm.triangular_mesh(["x", "y", "z"], False) assert vertices.shape == (16, 3) assert faces.shape == (18, 3)
def test_triangular_mesh(): datasets, specs = three_faces_sheet() eptm = Epithelium('3faces_2D', datasets, specs) vertices, faces, face_mask = eptm.triangular_mesh(['x', 'y', 'z']) assert vertices.shape == (16, 3) assert faces.shape == (18, 3)