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

Function _rc

src/ifcquery/ifcquery/info.py:35–37  ·  view source on GitHub ↗

Round a coordinate sequence to 6 decimal places.

(coords)

Source from the content-addressed store, hash-verified

33
34
35def _rc(coords) -> list[float]:
36 """Round a coordinate sequence to 6 decimal places."""
37 return [round(float(c), 6) for c in coords]
38
39
40def _curve_points(curve) -> list | None:

Callers 3

_curve_pointsFunction · 0.85
_half_space_planeFunction · 0.85
_swept_solid_dictFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected