HalfEdge.vertex_index
- HalfEdge.vertex_index()[source]
Returns a dictionary that maps vertex dictionary keys to the corresponding index in a vertex list or array.
- Returns
dict[int, int] – A dictionary of key-index pairs.
Returns a dictionary that maps vertex dictionary keys to the corresponding index in a vertex list or array.
dict[int, int] – A dictionary of key-index pairs.
A computational framework for collaboration and research in Architecture, Engineering, Fabrication, and Construction.
Copyright © 2017-2021 compas-dev