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

Method setDirectNormalIlluminance

src/utilities/filetypes/EpwFile.cpp:2130–2137  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2128}
2129
2130bool EpwDataPoint::setDirectNormalIlluminance(double value) {
2131 if (0 > value || 999900 < value) {
2132 m_directNormalIlluminance = "999999";
2133 return false;
2134 }
2135 m_directNormalIlluminance = std::to_string(value);
2136 return true;
2137}
2138
2139bool EpwDataPoint::setDirectNormalIlluminance(const std::string& directNormalIlluminance) {
2140 bool ok;

Callers 1

fromEpwStringsMethod · 0.80

Calls 1

stringToDoubleFunction · 0.85

Tested by

no test coverage detected