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

Method LAScriterionDropHSL

LASlib/src/lasfilter.cpp:917–928  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

915 return ((below_HSL <= hsl[channel]) && (hsl[channel] <= above_HSL));
916 };
917 LAScriterionDropHSL(F32 below_HSL, F32 above_HSL, I32 channel) {
918 if (above_HSL < below_HSL)
919 {
920 this->below_HSL = above_HSL;
921 this->above_HSL = below_HSL;
922 }
923 else {
924 this->below_HSL = below_HSL;
925 this->above_HSL = above_HSL;
926 };
927 this->channel = channel;
928 };
929
930private:
931 F32 below_HSL, above_HSL;

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected