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

Function getClassification

source/MRIOExtras/MRLas.cpp:174–182  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

172}
173
174uint8_t getClassification( const char* buf, int format )
175{
176 if ( 0 <= format && format <= 5 )
177 return reinterpret_cast<const LasPoint0*>( buf )->classification;
178 else if ( 6 <= format && format <= 10 )
179 return reinterpret_cast<const LasPoint6*>( buf )->classification;
180 else
181 return 0;
182}
183
184bool hasColorChannels( int format )
185{

Callers 1

processFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected