Page 1 of 1

create a label from a position

Posted: Thu Jan 23, 2020 5:25 pm
by fblue
Hello,

Can I create a cc2DLabel which associates a point which doesn't exist in a point cloud?

The method addPoint() in cc2DLabel needs the index of a point in the point cloud to give a label to this point. But if in a known position(x,y,z) where the cloud has no point, can I still create a label? Or I have to create at first a point with this position and add it to the point cloud?

Thanks

Re: create a label from a position

Posted: Thu Jan 23, 2020 9:49 pm
by daniel
Nope. It can only point to an existing point (and it automatically adaptas to this points position, in case the cloud is transformed, etc.).