MCPcopy Create free account
hub / github.com/MeshInspector/MeshLib / getBbox_

Method getBbox_

source/MRViewer/MRMoveObjectByMouseImpl.cpp:345–352  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

343}
344
345Box3f MoveObjectByMouseImpl::getBbox_( const std::vector<std::shared_ptr<Object>>& objects ) const
346{
347 Box3f worldBbox;
348 for ( const std::shared_ptr<Object>& obj : objects )
349 if ( obj )
350 worldBbox.include( obj->getWorldBox() );
351 return worldBbox;
352}
353
354void MoveObjectByMouseImpl::clear_()
355{

Callers

nothing calls this directly

Calls 2

includeMethod · 0.45
getWorldBoxMethod · 0.45

Tested by

no test coverage detected