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

Method filter

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

Source from the content-addressed store, hash-verified

702 inline I32 get_command(CHAR* string) const { return sprintf(string, "-%s ", name()); };
703 inline U32 get_decompress_selective() const { return LASZIP_DECOMPRESS_SELECTIVE_FLAGS; };
704 inline BOOL filter(const LASpoint* point) { if (scan_direction_flag == point->scan_direction_flag) return TRUE; I32 s = scan_direction_flag; scan_direction_flag = point->scan_direction_flag; return s == -1; };
705 void reset() { scan_direction_flag = -1; };
706 LAScriterionKeepScanDirectionChange() { reset(); };
707private:

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected