Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/OpenSees/OpenSees
/ getRGB
Method
getRGB
SRC/renderer/PlainMap.cpp:185–191 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
183
}
184
185
int
186
PlainMap::getRGB(float value, float &red, float &blue, float &green) {
187
red = this->getRed(value);
188
green = this->getGreen(value);
189
blue = this->getBlue(value);
190
return 0;
191
}
192
193
194
Callers
3
drawPoint
Method · 0.80
drawLine
Method · 0.80
drawPolygon
Method · 0.80
Calls
3
getRed
Method · 0.95
getGreen
Method · 0.95
getBlue
Method · 0.95
Tested by
no test coverage detected