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

Method to_json

tools/python/mwm/mwm_interface.py:216–220  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

214 return f"Rect[{self.left_bottom}, {self.right_top}]"
215
216 def to_json(self):
217 return {
218 "leftBottom": self.left_bottom.to_json(),
219 "rightTop": self.right_top.to_json(),
220 }
221
222
223class Triangle:

Callers

nothing calls this directly

Calls 1

to_jsonMethod · 0.45

Tested by

no test coverage detected