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

Method LAScriterionDropHSVA

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

Source from the content-addressed store, hash-verified

970 return (hsv[0] >= h_min) && (hsv[0] <= h_max) && (hsv[1] >= s_min) && (hsv[1] <= s_max) && (hsv[2] >= v_min) && (hsv[2] <= v_max);
971 };
972 LAScriterionDropHSVA(F32 h_min, F32 h_max, F32 s_min, F32 s_max, F32 v_min, F32 v_max)
973 {
974 this->h_min = h_min;
975 this->h_max = h_max;
976 this->s_min = s_min;
977 this->s_max = s_max;
978 this->v_min = v_min;
979 this->v_max = v_max;
980 };
981private:
982 F32 h_min, h_max, s_min, s_max, v_min, v_max;
983 F32 hsv[3] = {0};

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected