MCPcopy Create free account
hub / github.com/NatLabRockies/OpenStudio / WindowGroup

Method WindowGroup

src/radiance/WindowGroup.cpp:29–35  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

27namespace 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()) {

Callers

nothing calls this directly

Calls 3

createUUIDFunction · 0.85
toStringFunction · 0.50
normalizeMethod · 0.45

Tested by

no test coverage detected