Get box coordinates

Feel free to ask any question here
Post Reply
suyufeng
Posts: 47
Joined: Wed May 26, 2021 7:04 am

Get box coordinates

Post 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?
daniel
Site Admin
Posts: 7717
Joined: Wed Oct 13, 2010 7:34 am
Location: Grenoble, France
Contact:

Re: Get box coordinates

Post 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).
Daniel, CloudCompare admin
suyufeng
Posts: 47
Joined: Wed May 26, 2021 7:04 am

Re: Get box coordinates

Post by suyufeng »

Thank you very much for your reply
smoluck
Posts: 15
Joined: Mon Dec 02, 2019 2:15 am

Re: Get box coordinates

Post by smoluck »

Did you find a solution for that ?

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