HalfFace.vertex_index

HalfFace.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 vertex-index pairs.