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

Method filter

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

Source from the content-addressed store, hash-verified

1100 inline I32 get_command(CHAR* string) const { return sprintf(string, "-%s %.3f %.3f ", name(), below_scan, above_scan); };
1101 inline U32 get_decompress_selective() const { return LASZIP_DECOMPRESS_SELECTIVE_SCAN_ANGLE; };
1102 inline BOOL filter(const LASpoint* point) { return (point->get_scan_angle() < below_scan) || (above_scan < point->get_scan_angle()); };
1103 LAScriterionKeepScanAngle(F32 below_scan, F32 above_scan) { if (above_scan < below_scan) { this->below_scan = above_scan; this->above_scan = below_scan; }
1104 else { this->below_scan = below_scan; this->above_scan = above_scan; } };
1105private:

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected