| 84 | } |
| 85 | |
| 86 | float RadiusMeasurementObject::computeRadiusOrDiameter() const |
| 87 | { |
| 88 | if ( !cachedValue_ ) |
| 89 | cachedValue_ = getWorldRadiusAsVector().length() * ( getDrawAsDiameter() ? 2.f : 1.f ); |
| 90 | return *cachedValue_; |
| 91 | } |
| 92 | |
| 93 | std::vector<std::string> RadiusMeasurementObject::getInfoLines() const |
| 94 | { |
no test coverage detected