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

Method center

tools/python/mwm/mwm_pygen.py:104–106  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

102 return mi.GeomType(int(g))
103
104 def center(self) -> mi.Point:
105 c = self.ft.center()
106 return from_pygen_point(c)
107
108 def geometry(self) -> Union[List[mi.Point], List[mi.Triangle]]:
109 if self.geom_type() == mi.GeomType.area:

Callers

nothing calls this directly

Calls 1

from_pygen_pointFunction · 0.85

Tested by

no test coverage detected