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

Method LAScriterionKeepXY

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

Source from the content-addressed store, hash-verified

387 inline I32 get_command(CHAR* string) const { return sprintf(string, "-%s %d %d %d %d ", name(), below_X, below_Y, above_X, above_Y); };
388 inline BOOL filter(const LASpoint* point) { return (point->get_X() < below_X) || (point->get_Y() < below_Y) || (point->get_X() >= above_X) || (point->get_Y() >= above_Y); };
389 LAScriterionKeepXY(I32 below_X, I32 below_Y, I32 above_X, I32 above_Y) { this->below_X = below_X; this->below_Y = below_Y; this->above_X = above_X; this->above_Y = above_Y; };
390private:
391 I32 below_X, below_Y, above_X, above_Y;
392};

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected