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

Method InsertLine

libs/drape_frontend/apply_feature_functors.cpp:104–114  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

102 }
103
104 void InsertLine(FeatureID const & id, int scale, int vertexCount, int renderVertexCount)
105 {
106 TKey key(id, scale);
107 std::lock_guard g(m_mutex);
108 if (m_features.find(key) != m_features.end())
109 return;
110
111 TValue & v = m_features[key];
112 v.m_readPoints = vertexCount;
113 v.m_neededPoints = renderVertexCount;
114 }
115
116private:
117 LinesStat() = default;

Callers 1

ProcessLineRulesMethod · 0.80

Calls 2

findMethod · 0.45
endMethod · 0.45

Tested by

no test coverage detected