HalfEdge.key_index

HalfEdge.key_index()[source]

Returns a dictionary that maps vertex dictionary keys to the corresponding index in a vertex list or array.

Returns

dict – A dictionary of key-index pairs.