| 764 | return I32_FITS_IN_RANGE(Y); |
| 765 | }; |
| 766 | inline BOOL set_z(const F64 z) { |
| 767 | if (quantizer->z_from_attrib < 0) { |
| 768 | I64 Z = quantizer->get_Z(z); |
| 769 | this->Z = (I32)(Z); |
| 770 | return I32_FITS_IN_RANGE(Z); |
| 771 | } else { |
| 772 | // set Z in extrabyte - scaled to I32 |
| 773 | set_attribute_as_float(quantizer->z_from_attrib, z); |
| 774 | return TRUE; |
| 775 | } |
| 776 | }; |
| 777 | U8 get_classification() const { |
| 778 | if (extended_point_type) { |
| 779 | return extended_classification; |
no test coverage detected