MCPcopy Create free account
hub / github.com/LAStools/LAStools / ValueDouble

Method ValueDouble

src/wktparser.cpp:293–300  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

291}
292
293double WktParser::ValueDouble(const std::string& key, const double def) {
294 double ret;
295 if (HasValueDouble(key, ret)) {
296 return ret;
297 } else {
298 return def;
299 }
300}
301
302std::string WktParser::ValueSubStr(const std::string& key, const std::string sub, const std::string def) {
303 std::string keylc = BOOST_PRE to_lower_copy(key);

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected