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

Method LAScriterionDropHSV

LASlib/src/lasfilter.cpp:1027–1039  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1025 return ((hsv[channel] >= below_HSV) && (hsv[channel] <= above_HSV));
1026 };
1027 LAScriterionDropHSV(F32 below_HSV, F32 above_HSV, I32 channel)
1028 {
1029 if (above_HSV < below_HSV)
1030 {
1031 this->below_HSV = above_HSV;
1032 this->above_HSV = below_HSV;
1033 }
1034 else {
1035 this->below_HSV = below_HSV;
1036 this->above_HSV = above_HSV;
1037 };
1038 this->channel = channel;
1039 };
1040private:
1041 F32 below_HSV, above_HSV;
1042 I32 channel;

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected