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

Function from_pygen_point

tools/python/mwm/mwm_pygen.py:122–123  ·  view source on GitHub ↗
(p: geometry.PointD)

Source from the content-addressed store, hash-verified

120
121
122def from_pygen_point(p: geometry.PointD) -> mi.Point:
123 return mi.Point(p.x, p.y)
124
125
126def from_pygen_rect(r: geometry.RectD) -> mi.Rect:

Callers 4

centerMethod · 0.85
geometryMethod · 0.85
from_pygen_rectFunction · 0.85
from_pygen_triangleFunction · 0.85

Calls 1

PointMethod · 0.45

Tested by

no test coverage detected