- super().__init__(**kwargs)
- self.address = of["address"] if of and "address" in of else None
- self.geoLocation = (
- of["geoLocation"] if of and "geoLocation" in of else GeoLocation()
- )
- self.url = of["url"] if of and "url" in of else self.id
- self.position = of["position"] if of and "position" in of else Hex(0,0,0)
- self.layout = of["layout"] if of and "layout" in of else Layout(Hexagon.layout_flat, Point(1,1), Point(0,0))
- self.spiralRadiusProfile = of["spiralRadiusProfile"] if of and "spiralRadiusProfile" in of else SpiralRadiusProfile()
- self.parent = of["parent"] if of and "parent" in of else None
-
- @property
- def address(self):
- return self._address
-
- @address.setter
- def address(self, value):
- self._address = value
-
- @property
- def geoLocation(self):
- return self._geographicalLocation
-
- @geoLocation.setter
- def geoLocation(self, value):
- self._geographicalLocation = value
-
- @property
- def url(self):
- return self._url
-
- @url.setter
- def url(self, value):
- self._url = value
-
- @property
- def position(self):
- return self._position
-
- @position.setter
- def position(self, value):
- self._position = value
-
- @property
- def layout(self):
- return self._layout