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

Method filter

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

Source from the content-addressed store, hash-verified

261 inline const CHAR* name() const { return "drop_x"; };
262 inline I32 get_command(CHAR* string) const { return sprintf(string, "-%s %lf %lf ", name(), below_x, above_x); };
263 inline BOOL filter(const LASpoint* point) { F64 x = point->get_x(); return ((below_x <= x) && (x < above_x)); };
264 LAScriterionDropx(F64 below_x, F64 above_x) { this->below_x = below_x; this->above_x = above_x; };
265private:
266 F64 below_x, above_x;

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected