Skip to content

Commit d0b21d0

Browse files
author
Martin Isenburg
committed
new access function for NIR value
1 parent 535cc80 commit d0b21d0

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

LASzip/src/laspoint.hpp

+2
Original file line numberDiff line numberDiff line change
@@ -519,6 +519,7 @@ class LASpoint
519519
inline U16 get_G() const { return rgb[1]; };
520520
inline U16 get_B() const { return rgb[2]; };
521521
inline U16 get_I() const { return rgb[3]; };
522+
inline U16 get_NIR() const { return rgb[3]; };
522523

523524
inline void set_X(const I32 X) { this->X = X; };
524525
inline void set_Y(const I32 Y) { this->Y = Y; };
@@ -543,6 +544,7 @@ class LASpoint
543544
inline void set_G(const U16 G) { this->rgb[1] = G; };
544545
inline void set_B(const U16 B) { this->rgb[2] = B; };
545546
inline void set_I(const U16 I) { this->rgb[3] = I; };
547+
inline void set_NIR(const U16 NIR) { this->rgb[3] = NIR; };
546548

547549
inline F64 get_x() const { return quantizer->get_x(X); };
548550
inline F64 get_y() const { return quantizer->get_y(Y); };

0 commit comments

Comments
 (0)