Page 1 of 1
How to read length & width of input mesh/clouds
Posted: Wed Nov 02, 2016 4:49 pm
by !Xobile
I want to read length and width of given mesh/clouds. How do I access those values for further use?
Re: How to read length & width of input mesh/clouds
Posted: Wed Nov 02, 2016 8:46 pm
by daniel
Are you speaking about the bounding-box of the entity? Then you should use the 'ccHObject::getOwnBB' method.
Otherwise, if you are talking about the grid structure that some clouds have (e.g. when they come from Faro or DP files) then you have to get the associated 'Grid' structure (see ccPointCloud::grid). And it's only for some point clouds (not for meshes).