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

Method LAScriterionKeepHSV

LASlib/src/lasfilter.cpp:997–1009  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

995 return ((hsv[channel] < below_HSV) || (above_HSV < hsv[channel]));
996 };
997 LAScriterionKeepHSV(F32 below_HSV, F32 above_HSV, I32 channel)
998 {
999 if (above_HSV < below_HSV)
1000 {
1001 this->below_HSV = above_HSV;
1002 this->above_HSV = below_HSV;
1003 }
1004 else {
1005 this->below_HSV = below_HSV;
1006 this->above_HSV = above_HSV;
1007 };
1008 this->channel = channel;
1009 };
1010private:
1011 F32 below_HSV, above_HSV;
1012 I32 channel;

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected