| 27 | namespace radiance { |
| 28 | |
| 29 | WindowGroup::WindowGroup(const openstudio::Vector3d& outwardNormal, const model::Space& space, const model::ConstructionBase& construction, |
| 30 | const boost::optional<model::ShadingControl>& shadingControl) |
| 31 | : m_outwardNormal(outwardNormal), m_space(space), m_construction(construction), m_shadingControl(shadingControl) { |
| 32 | // start with a gross name, forward translator is in charge of nice names |
| 33 | m_name = "WG" + toString(createUUID()); |
| 34 | m_outwardNormal.normalize(); |
| 35 | } |
| 36 | |
| 37 | bool WindowGroup::operator==(const WindowGroup& other) const { |
| 38 | if (!m_shadingControl && !other.shadingControl()) { |
nothing calls this directly
no test coverage detected