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

Method ValueInt

src/wktparser.cpp:284–291  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

282}
283
284int WktParser::ValueInt(const std::string& key, const double def) {
285 int ret;
286 if (HasValueInt(key, ret)) {
287 return ret;
288 } else {
289 return static_cast<int>(def);
290 }
291}
292
293double WktParser::ValueDouble(const std::string& key, const double def) {
294 double ret;

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected