| 90 | } |
| 91 | |
| 92 | double Shade_Impl::solarTransmittance() const { |
| 93 | OptionalDouble od = getDouble(OS_WindowMaterial_ShadeFields::SolarTransmittance, true); |
| 94 | if (!od) { |
| 95 | LOG_AND_THROW("Solar transmittance not yet set for " << briefDescription() << "."); |
| 96 | } |
| 97 | return *od; |
| 98 | } |
| 99 | |
| 100 | double Shade_Impl::solarAbsorptance() const { |
| 101 | return 1.0 - solarTransmittance() - solarReflectance(); |
no outgoing calls