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

Method filter

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

Source from the content-addressed store, hash-verified

228 inline const CHAR* name() const { return "keep_xy"; };
229 inline I32 get_command(CHAR* string) const { return sprintf(string, "-%s %lf %lf %lf %lf ", name(), below_x, below_y, above_x, above_y); };
230 inline BOOL filter(const LASpoint* point) { return (!point->inside_rectangle(below_x, below_y, above_x, above_y)); };
231 LAScriterionKeepxy(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; };
232private:
233 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