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

Method filter

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

Source from the content-addressed store, hash-verified

117 inline const CHAR* name() const { return "keep_tile"; };
118 inline I32 get_command(CHAR* string) const { return sprintf(string, "-%s %g %g %g ", name(), ll_x, ll_y, tile_size); };
119 inline BOOL filter(const LASpoint* point) { return (!point->inside_tile(ll_x, ll_y, ur_x, ur_y)); };
120 LAScriterionKeepTile(F32 ll_x, F32 ll_y, F32 tile_size) { this->ll_x = ll_x; this->ll_y = ll_y; this->ur_x = ll_x + tile_size; this->ur_y = ll_y + tile_size; this->tile_size = tile_size; };
121private:
122 F32 ll_x, ll_y, ur_x, ur_y, tile_size;

Callers

nothing calls this directly

Calls 1

inside_tileMethod · 0.45

Tested by

no test coverage detected