Mesh.vertex_gkey

Mesh.vertex_gkey(precision=None)[source]

Returns a dictionary that maps vertex dictionary keys to the corresponding geometric key up to a certain precision.

Parameters

precision (str, optional) – The float precision specifier used in string formatting. Defaults to the value of compas.PRECISION.

Returns

dict[int, str] – A dictionary of key-geometric key pairs.