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

Method filter

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

Source from the content-addressed store, hash-verified

1139 inline I32 get_command(CHAR* string) const { return sprintf(string, "-%s %.3f %.3f ", name(), below_scan, above_scan); };
1140 inline U32 get_decompress_selective() const { return LASZIP_DECOMPRESS_SELECTIVE_SCAN_ANGLE; };
1141 inline BOOL filter(const LASpoint* point) {
1142 return (below_scan <= point->get_scan_angle()) && (point->get_scan_angle() <= above_scan);
1143 };
1144 LAScriterionDropScanAngleBetween(F32 below_scan, F32 above_scan) { if (above_scan < below_scan) { this->below_scan = above_scan; this->above_scan = below_scan; }
1145 else { this->below_scan = below_scan; this->above_scan = above_scan; } };
1146private:

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected