MCPcopy Create free account
hub / github.com/MeshInspector/MeshLib / getColor

Function getColor

source/MRIOExtras/MRLas.cpp:258–264  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

256};
257
258Color getColor( uint8_t classification )
259{
260 if ( classification < lasDefaultPalette.size() )
261 return lasDefaultPalette.at( classification );
262 else
263 return Color::black();
264}
265
266Expected<PointCloud> process( lazperf::reader::basic_file& reader, const PointsLoadSettings& settings )
267{

Callers 2

getVertColorsMethod · 0.85
processFunction · 0.85

Calls 1

sizeMethod · 0.45

Tested by

no test coverage detected