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

Method filter

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

Source from the content-addressed store, hash-verified

239 inline const CHAR* name() const { return "drop_xy"; };
240 inline I32 get_command(CHAR* string) const { return sprintf(string, "-%s %lf %lf %lf %lf ", name(), below_x, below_y, above_x, above_y); };
241 inline BOOL filter(const LASpoint* point) { return (point->inside_rectangle(below_x, below_y, above_x, above_y)); };
242 LAScriterionDropxy(F64 below_x, F64 below_y, F64 above_x, F64 above_y) { this->below_x = below_x; this->below_y = below_y; this->above_x = above_x; this->above_y = above_y; };
243private:
244 F64 below_x, below_y, above_x, above_y;

Callers

nothing calls this directly

Calls 1

inside_rectangleMethod · 0.45

Tested by

no test coverage detected