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

Method LAScriterionDropHSLA

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

Source from the content-addressed store, hash-verified

860 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);
861 };
862 LAScriterionDropHSLA(F32 h_min, F32 h_max, F32 s_min, F32 s_max, F32 v_min, F32 v_max)
863 {
864 this->h_min = h_min;
865 this->h_max = h_max;
866 this->s_min = s_min;
867 this->s_max = s_max;
868 this->v_min = v_min;
869 this->v_max = v_max;
870 };
871private:
872 F32 h_min, h_max, s_min, s_max, v_min, v_max;
873 F32 hsl[3] = {0};

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected