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

Method filter

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

Source from the content-addressed store, hash-verified

910 inline I32 get_command(CHAR* string) const { return sprintf(string, "-%s_%s %f %f ", name(), (channel == 0 ? "hue" : (channel == 1 ? "saturation" : "lightness")), below_HSL, above_HSL); };
911 inline U32 get_decompress_selective() const { return LASZIP_DECOMPRESS_SELECTIVE_RGB; };
912 inline BOOL filter(const LASpoint* point)
913 {
914 point->get_hsl(hsl);
915 return ((below_HSL <= hsl[channel]) && (hsl[channel] <= above_HSL));
916 };
917 LAScriterionDropHSL(F32 below_HSL, F32 above_HSL, I32 channel) {
918 if (above_HSL < below_HSL)
919 {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected