MCPcopy
hub / github.com/tum-pbs/PhiFlow / corner_radii

Method corner_radii

phi/geom/_spline_solid.py:76–78  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

74
75 @cached_property
76 def corner_radii(self) -> Tensor:
77 result = [self.thickness[{dim[1:]: slice(o, None if o else -1) for dim, o in offset.items()}] for offset in self.corner_shape.dual.meshgrid()]
78 return stack(result, self.corner_shape.dual)
79
80 @cached_property
81 def _central_tangents(self):

Callers

nothing calls this directly

Calls 1

stackFunction · 0.90

Tested by

no test coverage detected