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

Method find

source/MRMesh/MRObject.cpp:166–172  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

164}
165
166std::shared_ptr<const Object> Object::find( const std::string_view & name ) const
167{
168 for ( const auto & child : children_ )
169 if ( child->name() == name )
170 return child;
171 return {}; // not found among recognized children
172}
173
174void Object::setXf( const AffineXf3f& xf, ViewportId id )
175{

Callers 1

serializeRecursive_Method · 0.45

Calls 1

nameMethod · 0.45

Tested by

no test coverage detected