Example #1
0
def test_from_polylines(polylines):
    boundary_polylines, other_polylines = polylines
    mesh = Mesh.from_polylines(boundary_polylines, other_polylines)
    assert mesh.number_of_vertices() == 6
    assert mesh.number_of_faces() == 2
    assert mesh.number_of_edges() == 7