HalfEdge.vertex_index

HalfEdge.vertex_index()[source]

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()