MCPcopy Create free account
hub / github.com/LAStools/LAStools / filter

Method filter

LASlib/src/lasfilter.cpp:1269–1286  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1267 };
1268 inline U32 get_decompress_selective() const { return LASZIP_DECOMPRESS_SELECTIVE_CLASSIFICATION; };
1269 inline BOOL filter(const LASpoint* point)
1270 {
1271 if (point->classification == 0)
1272 {
1273 if (point->extended_classification == 0)
1274 {
1275 return ((1u) & drop_classification_mask);
1276 }
1277 else
1278 {
1279 return FALSE;
1280 }
1281 }
1282 else
1283 {
1284 return ((1u << point->classification) & drop_classification_mask);
1285 }
1286 };
1287 LAScriterionDropClassifications(U32 drop_classification_mask) { this->drop_classification_mask = drop_classification_mask; };
1288 inline U32 get_drop_classification_mask() const { return drop_classification_mask; };
1289private:

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected