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

Method GetNode

generator/intermediate_data.hpp:260–260  ·  view source on GitHub ↗

\a x \a y are in mercator projection coordinates. @see IntermediateDataWriter::AddNode.

Source from the content-addressed store, hash-verified

258
259 /// \a x \a y are in mercator projection coordinates. @see IntermediateDataWriter::AddNode.
260 bool GetNode(Key id, double & y, double & x) const override { return m_nodes.GetPoint(id, y, x); }
261
262 bool GetWay(Key id, WayElement & e) override { return m_ways.Read(id, e); }
263 bool GetRelation(Key id, RelationElement & e) override { return m_relations.Read(id, e); }

Callers 4

ForEachAreaMethod · 0.45
ReadNodeMethod · 0.45
BuildFromWayMethod · 0.45
CollectRelationMethod · 0.45

Calls 1

GetPointMethod · 0.45

Tested by

no test coverage detected