added static function door_associated_with_polygon