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

Method get_command

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

Source from the content-addressed store, hash-verified

1692public:
1693 inline const CHAR* name() const { return "drop_attribute_above"; };
1694 inline I32 get_command(CHAR* string) const { return sprintf(string, "-%s %u %lf ", name(), index, above_attribute); };
1695 inline U32 get_decompress_selective() const { return LASZIP_DECOMPRESS_SELECTIVE_EXTRA_BYTES; };
1696 inline BOOL filter(const LASpoint* point) { return (point->get_attribute_as_float(index) > above_attribute); };
1697 LAScriterionDropAttributeAbove(U32 index, F64 above_attribute) { this->index = index; this->above_attribute = above_attribute; };

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected