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

Function get_attribute_as_float

LASzip/src/laspoint.hpp:1095–1100  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1093 };
1094
1095 inline F64 get_attribute_as_float(U32 index) const {
1096 if (has_attribute(index)) {
1097 return attributer->attributes[index].get_value_as_float(extra_bytes + attributer->attribute_starts[index]);
1098 }
1099 return 0.0;
1100 };
1101
1102 inline void set_attribute_as_float(U32 index, F64 value) const {
1103 if (has_attribute(index)) {

Callers 1

get_ZFunction · 0.85

Calls 1

has_attributeFunction · 0.85

Tested by

no test coverage detected