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

Method get_command

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

Source from the content-addressed store, hash-verified

138public:
139 inline const CHAR* name() const { return "keep_xyz"; };
140 inline I32 get_command(CHAR* string) const { return sprintf(string, "-%s %lf %lf %lf %lf %lf %lf ", name(), min_x, min_y, min_z, max_x, max_y, max_z); };
141 inline U32 get_decompress_selective() const { return LASZIP_DECOMPRESS_SELECTIVE_CHANNEL_RETURNS_XY | LASZIP_DECOMPRESS_SELECTIVE_Z; };
142 inline BOOL filter(const LASpoint* point) { return (!point->inside_box(min_x, min_y, min_z, max_x, max_y, max_z)); };
143 LAScriterionKeepxyz(F64 min_x, F64 min_y, F64 min_z, F64 max_x, F64 max_y, F64 max_z) { this->min_x = min_x; this->min_y = min_y; this->min_z = min_z; this->max_x = max_x; this->max_y = max_y; this->max_z = max_z; };

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected