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

Method LAScriterionKeepHSLA

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

Source from the content-addressed store, hash-verified

835 return (hsl[0] < h_min) || (hsl[0] > h_max) || (hsl[1] < s_min) || (hsl[1] > s_max) || (hsl[2] < v_min) || (hsl[2] > v_max);
836 };
837 LAScriterionKeepHSLA(F32 h_min, F32 h_max, F32 s_min, F32 s_max, F32 v_min, F32 v_max)
838 {
839 this->h_min = h_min;
840 this->h_max = h_max;
841 this->s_min = s_min;
842 this->s_max = s_max;
843 this->v_min = v_min;
844 this->v_max = v_max;
845 };
846private:
847 F32 h_min, h_max, s_min, s_max, v_min, v_max;
848 F32 hsl[3] = {0};

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected