Point3D to cloudIndex
Posted: Tue Jan 08, 2019 11:07 am
Hi Daniel,
I haven't found a function that allows me to get the index of a point in the cloud when I give it 3D coordinates
For example, with this you can obtain approximate coordinates of the point you are aiming at:
But once the X, Y, Z has been stored, it is mandatory to go through the entire sizecloud and test each getpoint(index, Point) to obtain an index .
thanks
I haven't found a function that allows me to get the index of a point in the cloud when I give it 3D coordinates
For example, with this you can obtain approximate coordinates of the point you are aiming at:
Code: Select all
CCVector3d P;
pGLView->getClick3DPos(mouseEvent->pos().x(), mouseEvent->pos().y(), P)
thanks