MCPcopy Create free account
hub / github.com/comaps/comaps / from_pygen_triangle

Function from_pygen_triangle

tools/python/mwm/mwm_pygen.py:130–133  ·  view source on GitHub ↗
(t: geometry.TriangleD)

Source from the content-addressed store, hash-verified

128
129
130def from_pygen_triangle(t: geometry.TriangleD) -> mi.Triangle:
131 return mi.Triangle(
132 from_pygen_point(t.x()), from_pygen_point(t.y()), from_pygen_point(t.z())
133 )

Callers 1

geometryMethod · 0.85

Calls 4

from_pygen_pointFunction · 0.85
TriangleMethod · 0.45
xMethod · 0.45
yMethod · 0.45

Tested by

no test coverage detected