fix_mesh_corners

compas_tno.utilities.fix_mesh_corners(mesh, corners=[[0.0, 0.0], [10.0, 0.0], [10.0, 10.0], [0.0, 10.0]])[source]

Fix the corners of a mesh (FormDiagram)

Parameters
  • mesh (Mesh) – The mesh or form diagram

  • corners (list, optional) – The corners of the mesh, by default [[0.0, 0.0], [10.0, 0.0], [10.0, 10.0], [0.0, 10.0]]

Returns

None – Mesh is updated in place