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

Method filter

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

Source from the content-addressed store, hash-verified

250 inline const CHAR* name() const { return "keep_x"; };
251 inline I32 get_command(CHAR* string) const { return sprintf(string, "-%s %lf %lf ", name(), below_x, above_x); };
252 inline BOOL filter(const LASpoint* point) { F64 x = point->get_x(); return (x < below_x) || (x >= above_x); };
253 LAScriterionKeepx(F64 below_x, F64 above_x) { this->below_x = below_x; this->above_x = above_x; };
254private:
255 F64 below_x, above_x;

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected