| 24 | } |
| 25 | |
| 26 | void MeshOrPoints::cacheAABBTree() const |
| 27 | { |
| 28 | std::visit( overloaded{ |
| 29 | []( const MeshPart & mp ) { mp.mesh.getAABBTree(); }, |
| 30 | []( const PointCloudPart & pcp ) { pcp.cloud.getAABBTree(); } |
| 31 | }, var_ ); |
| 32 | } |
| 33 | |
| 34 | Box3f MeshOrPoints::computeBoundingBox( const AffineXf3f * toWorld ) const |
| 35 | { |