[Liblas-devel] GetClassification() et al.

Mateusz Łoskot mateusz at loskot.net
Mon Oct 24 10:49:29 EDT 2011


On 24 October 2011 15:21, Peder Axensten <Peder.Axensten at slu.se> wrote:
> I'm interested in retrieving and setting all the eight bits at once.

Point p;
Classification c(7, true /*synthetic*/, false /*keypoint*/, true
/*withheld*/); // set all bits of classification
p.SetClassification(c); // set point with classification

You can also modify:

c.SetKeyPoint(true); // modify classification
p.SetClassification(c); // set point with modified classification

Best regards,
-- 
Mateusz Loskot, http://mateusz.loskot.net
Charter Member of OSGeo, http://osgeo.org
Member of ACCU, http://accu.org


More information about the Liblas-devel mailing list