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

Method _central_tangents

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

Source from the content-addressed store, hash-verified

79
80 @cached_property
81 def _central_tangents(self):
82 tangents = {dim.name[1:]: dmean(self.corners[{dim: 1}] - self.corners[{dim: 0}]) for dim in self.corner_shape.dual}
83 return stack(tangents, '~tangents')
84
85 @cached_property
86 def _central_uv_extent(self):

Callers

nothing calls this directly

Calls 1

stackFunction · 0.90

Tested by

no test coverage detected