MCPcopy Create free account
hub / github.com/comaps/comaps / ReadNode

Method ReadNode

generator/feature_maker.cpp:30–36  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

28}
29
30std::optional<m2::PointD> FeatureMakerSimple::ReadNode(uint64_t id) const
31{
32 m2::PointD res;
33 if (m_cache->GetNode(id, res.y, res.x))
34 return res;
35 return {};
36}
37
38std::optional<m2::PointD> FeatureMakerSimple::GetOrigin(OsmElement const & e) const
39{

Callers

nothing calls this directly

Calls 1

GetNodeMethod · 0.45

Tested by

no test coverage detected