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

Method LAScriterionDropRGB

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

Source from the content-addressed store, hash-verified

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)
812 {
813 this->below_RGB = above_RGB;
814 this->above_RGB = below_RGB;
815 }
816 else {
817 this->below_RGB = below_RGB;
818 this->above_RGB = above_RGB;
819 };
820 this->channel = channel;
821 };
822private:
823 I32 below_RGB, above_RGB, channel;
824};

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected