Mesh.edge_midpoint
- Mesh.edge_midpoint(u, v)[source]
Return the location of the midpoint of an edge.
- Parameters
u (int) – The key of the start vertex.
v (int) – The key of the end vertex.
- Returns
list[float] – The XYZ coordinates of the midpoint.
Return the location of the midpoint of an edge.
u (int) – The key of the start vertex.
v (int) – The key of the end vertex.
list[float] – The XYZ coordinates of the midpoint.
A computational framework for collaboration and research in Architecture, Engineering, Fabrication, and Construction.
Copyright © 2017-2021 compas-dev