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

Method LAScriterionKeepRGB

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

Source from the content-addressed store, hash-verified

780 inline U32 get_decompress_selective() const { return LASZIP_DECOMPRESS_SELECTIVE_RGB; };
781 inline BOOL filter(const LASpoint* point) { return ((point->rgb[channel] < below_RGB) || (above_RGB < point->rgb[channel])); };
782 LAScriterionKeepRGB(I32 below_RGB, I32 above_RGB, I32 channel) { if (above_RGB < below_RGB) { this->below_RGB = above_RGB; this->above_RGB = below_RGB; } else { this->below_RGB = below_RGB; this->above_RGB = above_RGB; }; this->channel = channel; };
783private:
784 I32 below_RGB, above_RGB, channel;
785};

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected