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

Function from_pygen_rect

tools/python/mwm/mwm_pygen.py:126–127  ·  view source on GitHub ↗
(r: geometry.RectD)

Source from the content-addressed store, hash-verified

124
125
126def from_pygen_rect(r: geometry.RectD) -> mi.Rect:
127 return mi.Rect(from_pygen_point(r.left_bottom), from_pygen_point(r.right_top))
128
129
130def from_pygen_triangle(t: geometry.TriangleD) -> mi.Triangle:

Callers 2

boundsMethod · 0.85
limit_rectMethod · 0.85

Calls 2

from_pygen_pointFunction · 0.85
RectMethod · 0.80

Tested by

no test coverage detected