gustaf.utils.connec.subdivide_quad#
- gustaf.utils.connec.subdivide_quad(mesh, return_dict=False)[source]#
Subdivide quads.
- Parameters:
mesh (Mesh)
return_dict (bool)
- Returns:
new_vertices ((n, d) np.ndarray)
subdivided_faces ((m, 4) np.ndarray)
mesh_dict (dict) – iff return_dict=True, returns dict(vertices=new_vertices, faces=subdivided_faces).