Page 1 of 1

Get box coordinates

Posted: Thu Oct 28, 2021 9:50 am
by suyufeng
CCVector3 C = bBox.getCenter();
I know this is the way to get the center, but I want to get the coordinates of the vertices, is there any way?

Re: Get box coordinates

Posted: Thu Oct 28, 2021 7:31 pm
by daniel
Of the bounding-box? Once again, since it's a virtual object, you won't get them directly. But I guess you can deduce them from the bounding-box parameters (center, and dimensions).

Re: Get box coordinates

Posted: Fri Oct 29, 2021 1:52 am
by suyufeng
Thank you very much for your reply

Re: Get box coordinates

Posted: Sat Jan 27, 2024 1:53 pm
by smoluck
Did you find a solution for that ?

I’m looking for doing that measurement from a CLI bat with cloudcompare