dragonfly_doe2.doe.polygon module¶
Templates for ‘Block Inputs’ that are of relative Redundance between rooms and story objects
-
class
dragonfly_doe2.doe.polygon.
Polygon
(name, vertices)[source]¶ Bases:
object
A Doe2 Polygon.
-
classmethod
from_room
(room: dragonfly.room2d.Room2D, tolerace=0.01)[source]¶ Note: Shouldn’t we ensure the points are in 2D. I’m not sure how it works. #TF: ooohhhhhhhhhh good catch!! Though is there not already built into DF something
of the sort for room.floor_geom? was operating off the assumption that obj.prop would be good to go as is? or am I misunderstanding the specifics in which should do check: raise exception if issue?
-
classmethod