Graph.node_gkey
- Graph.node_gkey(precision=None)[source]
Returns a dictionary that maps node identifiers to the corresponding geometric key up to a certain precision.
- Parameters:
- precisionint, optional
Precision for converting numbers to strings. Default is
TOL.precision
.
- Returns:
- dict[hashable, str]
A dictionary of (node, geometric key) pairs.
See also
gkey_node()
compas.Tolerance.geometric_key()