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

Method filter

LASlib/src/lasfilter.cpp:805–808  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

803 inline I32 get_command(CHAR* string) const { return sprintf(string, "-%s_%s %d %d ", name(), (channel == 0 ? "red" : (channel == 1 ? "green" : (channel == 2 ? "blue" : "nir"))), below_RGB, above_RGB); };
804 inline U32 get_decompress_selective() const { return LASZIP_DECOMPRESS_SELECTIVE_RGB; };
805 inline BOOL filter(const LASpoint* point)
806 {
807 return ((below_RGB <= point->rgb[channel]) && (point->rgb[channel] <= above_RGB));
808 };
809 LAScriterionDropRGB(I32 below_RGB, I32 above_RGB, I32 channel)
810 {
811 if (above_RGB < below_RGB)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected