Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
122
def
from_pygen_point(p: geometry.PointD) -> mi.Point:
123
return
mi.Point(p.x, p.y)
124
125
126
def
from_pygen_rect(r: geometry.RectD) -> mi.Rect:
Callers
4
center
Method · 0.85
geometry
Method · 0.85
from_pygen_rect
Function · 0.85
from_pygen_triangle
Function · 0.85
Calls
1
Point
Method · 0.45
Tested by
no test coverage detected