reference point for map - form RefPtn=(x:y:illuminance)
| 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) { |
nothing calls this directly
no test coverage detected