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

Method GetColor

libs/map/track.cpp:163–167  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

161}
162
163dp::Color Track::GetColor(size_t layerIndex) const
164{
165 CHECK_LESS(layerIndex, m_data.m_layers.size(), ());
166 return dp::Color(m_data.m_layers[layerIndex].m_color.m_rgba);
167}
168
169void Track::SetColor(dp::Color color)
170{

Callers 14

CreateTrackFunction · 0.45
ClipLinesMethod · 0.45
EqualFunction · 0.45
MakeRouteMethod · 0.45
UpdateBookmarkMethod · 0.45
AddEdgePTForSubrouteMethod · 0.45
CheckBookmarksFunction · 0.45
UNIT_TESTFunction · 0.45
EqualBookmarksFunction · 0.45

Calls 2

ColorClass · 0.50
sizeMethod · 0.45

Tested by 5

CheckBookmarksFunction · 0.36
UNIT_TESTFunction · 0.36
EqualBookmarksFunction · 0.36
UNIT_CLASS_TESTFunction · 0.36
UNIT_TESTFunction · 0.36