Ejemplo n.º 1
0
    def __init__(self,
                 name,
                 sorted_points=None,
                 is_name_set_by_user=False,
                 rad_properties=None,
                 ep_properties=None,
                 states=None):
        """Init honeybee surface."""
        _surface_type = 5
        _is_type_set_by_user = True
        sorted_points = sorted_points or []

        states = states or ()
        HBAnalysisSurface.__init__(self, name, sorted_points, _surface_type,
                                   is_name_set_by_user, _is_type_set_by_user)

        sp = SurfaceProperties(self.surface_type, rad_properties,
                               ep_properties)
        self._states[0] = SurfaceState('default', sp)
        for state in states:
            self.add_surface_state(state)

        self.__isChildSurface = True
        # Parent will be set once the fen surface is added to a prent surface
        self._parent = None
        self._isCreatedFromGeo = False
Ejemplo n.º 2
0
    def __init__(self, name, sortedPoints=[], isNameSetByUser=False,
                 radProperties=None, epProperties=None):
        """Init honeybee surface."""
        _surfaceType = 6
        _isTypeSetByUser = True

        HBAnalysisSurface.__init__(self, name, sortedPoints=sortedPoints,
                                   surfaceType=_surfaceType,
                                   isNameSetByUser=isNameSetByUser,
                                   isTypeSetByUser=_isTypeSetByUser,
                                   radProperties=radProperties,
                                   epProperties=epProperties)
        self.__isChildSurface = True
        self.__parent = None
Ejemplo n.º 3
0
    def __init__(self, name, sorted_points=[], is_name_set_by_user=False,
                 rad_properties=None, ep_properties=None, states=None):
        """Init honeybee surface."""
        _surface_type = 6
        _is_type_set_by_user = True

        states = states or ()
        HBAnalysisSurface.__init__(self, name, sorted_points, _surface_type,
                                   is_name_set_by_user, _is_type_set_by_user)

        sp = SurfaceProperties(self.surface_type, rad_properties, ep_properties)
        self._states[0] = SurfaceState('default', sp)
        for state in states:
            self.add_surface_state(state)

        self.__isChildSurface = True
        self.__parent = None
Ejemplo n.º 4
0
    def __init__(self, name, sorted_points=[], surface_type=None,
                 is_name_set_by_user=False, is_type_set_by_user=False,
                 rad_properties=None, ep_properties=None, states=None):
        """Init honeybee surface."""
        states = states or ()

        HBAnalysisSurface.__init__(self, name, sorted_points, surface_type,
                                   is_name_set_by_user, is_type_set_by_user)

        sp = SurfaceProperties(self.surface_type, rad_properties, ep_properties)
        self._states[0] = SurfaceState('default', sp)
        for state in states:
            self.add_surface_state(state)

        self._parent = None
        self._child_surfaces = []
        self._is_created_from_geo = False
Ejemplo n.º 5
0
    def __init__(self, name, sortedPoints=None, isNameSetByUser=False,
                 radProperties=None, epProperties=None, states=None):
        """Init honeybee surface."""
        _surfaceType = 5
        _isTypeSetByUser = True
        sortedPoints = sortedPoints or []

        states = states or ()
        HBAnalysisSurface.__init__(self, name, sortedPoints, _surfaceType,
                                   isNameSetByUser, _isTypeSetByUser)

        sp = SurfaceProperties(self.surfaceType, radProperties, epProperties)
        self._states[0] = SurfaceState('default', sp)
        for state in states:
            self.addSurfaceState(state)

        self.__isChildSurface = True
        # Parent will be set once the fen surface is added to a prent surface
        self._parent = None
Ejemplo n.º 6
0
    def __init__(self, name, sorted_points=None, is_name_set_by_user=False,
                 rad_properties=None, ep_properties=None, states=None):
        """Init honeybee surface."""
        _surface_type = 5
        _is_type_set_by_user = True
        sorted_points = sorted_points or []

        states = states or ()
        HBAnalysisSurface.__init__(self, name, sorted_points, _surface_type,
                                   is_name_set_by_user, _is_type_set_by_user)

        sp = SurfaceProperties(self.surface_type, rad_properties, ep_properties)
        self._states[0] = SurfaceState('default', sp)
        for state in states:
            self.add_surface_state(state)

        self.__isChildSurface = True
        # Parent will be set once the fen surface is added to a prent surface
        self._parent = None
        self._isCreatedFromGeo = False
Ejemplo n.º 7
0
    def __init__(self,
                 name,
                 sortedPoints=[],
                 surfaceType=None,
                 isNameSetByUser=False,
                 isTypeSetByUser=False,
                 radProperties=None,
                 epProperties=None,
                 states=None):
        """Init honeybee surface."""
        states = states or ()
        HBAnalysisSurface.__init__(self, name, sortedPoints, surfaceType,
                                   isNameSetByUser, isTypeSetByUser)

        sp = SurfaceProperties(self.surfaceType, radProperties, epProperties)
        self._states[0] = SurfaceState('default', sp)
        for state in states:
            self.addSurfaceState(state)

        self._parent = None
        self._childSurfaces = []
Ejemplo n.º 8
0
    def __init__(self,
                 name,
                 sorted_points=[],
                 is_name_set_by_user=False,
                 rad_properties=None,
                 ep_properties=None,
                 states=None):
        """Init honeybee surface."""
        _surface_type = 6
        _is_type_set_by_user = True

        states = states or ()
        HBAnalysisSurface.__init__(self, name, sorted_points, _surface_type,
                                   is_name_set_by_user, _is_type_set_by_user)

        sp = SurfaceProperties(self.surface_type, rad_properties,
                               ep_properties)
        self._states[0] = SurfaceState('default', sp)
        for state in states:
            self.add_surface_state(state)

        self.__isChildSurface = True
        self.__parent = None