Block.vertex_index

Block.vertex_index()

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

Returns:
dict[int, int]

A dictionary of vertex-index pairs.

See also

index_vertex()