[Liblas-devel] GetClassification() et al.

Peder Axensten Peder.Axensten at slu.se
Wed Oct 26 02:50:52 EDT 2011


> I presented bug and fix here: https://gist.github.com/1313176

Should not the other two be fixed too:
	void Point::SetClassification(Classification::bitset_type const& flags) and 
	void Point::SetClassification(boost::uint8_t const& flags)?

Maybe a few unit tests using the various SetClassification(...) to check for this bug?

The only way to retrieve the uint8_t (m_data[15]) as a uint8_t is through conversion to unsigned long and back?
(By static_cast<boost::uint8_t>(bits.to_ulong()).)

Best regards,
/Peder



More information about the Liblas-devel mailing list