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

Method get_command

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

Source from the content-addressed store, hash-verified

1679public:
1680 inline const CHAR* name() const { return "drop_attribute_below"; };
1681 inline I32 get_command(CHAR* string) const { return sprintf(string, "-%s %u %lf ", name(), index, below_attribute); };
1682 inline U32 get_decompress_selective() const { return LASZIP_DECOMPRESS_SELECTIVE_EXTRA_BYTES; };
1683 inline BOOL filter(const LASpoint* point) { return (point->get_attribute_as_float(index) < below_attribute); };
1684 LAScriterionDropAttributeBelow(U32 index, F64 below_attribute) { this->index = index; this->below_attribute = below_attribute; };

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected