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

Method filter

LASlib/src/lasfilter.cpp:5451–5464  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

5449
5450
5451BOOL LASfilter::filter(const LASpoint* point)
5452{
5453 U32 i;
5454
5455 for (i = 0; i < num_criteria; i++)
5456 {
5457 if (criteria[i]->filter(point))
5458 {
5459 counters[i]++;
5460 return TRUE; // point was filtered
5461 }
5462 }
5463 return FALSE; // point survived
5464}
5465
5466void LASfilter::reset()
5467{

Callers 4

transformMethod · 0.45
filterMethod · 0.45
filterMethod · 0.45
read_point_filteredMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected