MCPcopy Create free account
hub / github.com/IfcOpenShell/IfcOpenShell / neg

Function neg

src/exterior-shell-extractor/utils.py:65–66  ·  view source on GitHub ↗
(tup)

Source from the content-addressed store, hash-verified

63 return tup
64
65 def neg(tup):
66 return tuple(-v for v in to_tuple(tup))
67
68 return neg if sign == -1 else iden
69

Callers

nothing calls this directly

Calls 1

to_tupleFunction · 0.85

Tested by

no test coverage detected