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

Method illuminanceMapRefPt

src/utilities/sql/SqlFile_Impl.cpp:3685–3695  ·  view source on GitHub ↗

reference point for map - form RefPtn=(x:y:illuminance)

Source from the content-addressed store, hash-verified

3683
3684 /// reference point for map - form RefPtn=(x:y:illuminance)
3685 boost::optional<std::string> SqlFile_Impl::illuminanceMapRefPt(const std::string& name, int ptNum) const {
3686 boost::optional<std::string> refPt;
3687 boost::optional<int> mapIndex = illuminanceMapIndex(name);
3688
3689 if (mapIndex) {
3690 refPt = illuminanceMapRefPt(*mapIndex, ptNum);
3691 } else
3692 LOG(Error, "Unknown illuminance map '" << name << "'");
3693
3694 return refPt;
3695 }
3696
3697 boost::optional<std::string> SqlFile_Impl::illuminanceMapRefPt(int mapIndex, int ptNum) const {
3698 if (ptNum <= 0) {

Callers

nothing calls this directly

Calls 5

splitStringFunction · 0.85
ascii_trimFunction · 0.85
columnTextFunction · 0.70
strMethod · 0.45
sizeMethod · 0.45

Tested by

no test coverage detected