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

Function get_attribute

LASzip/src/laspoint.hpp:1072–1078  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1070 };
1071
1072 inline BOOL get_attribute(U32 index, U8* data) const {
1073 if (has_attribute(index)) {
1074 memcpy(data, extra_bytes + attributer->attribute_starts[index], attributer->attribute_sizes[index]);
1075 return TRUE;
1076 }
1077 return FALSE;
1078 };
1079
1080 inline BOOL set_attribute(U32 index, const U8* data) {
1081 if (has_attribute(index)) {

Callers

nothing calls this directly

Calls 1

has_attributeFunction · 0.85

Tested by

no test coverage detected