MCPcopy Create free account
hub / github.com/FreeCAD/FreeCAD / resetElementMap

Method resetElementMap

src/App/ComplexGeoData.cpp:318–327  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

316}
317
318ElementMapPtr ComplexGeoData::resetElementMap(ElementMapPtr elementMap)
319{
320 _elementMap.swap(elementMap);
321 // We expect that if the ComplexGeoData ( TopoShape ) has a hasher, then its elementMap will
322 // have the same one. Make sure that happens.
323 if (_elementMap && !_elementMap->hasher) {
324 _elementMap->hasher = Hasher;
325 }
326 return elementMap;
327}
328
329std::vector<MappedElement> ComplexGeoData::getElementMap() const
330{

Callers 5

setElementNameMethod · 0.45
setHasherMethod · 0.45
createMappedNameMethod · 0.45
TEST_FFunction · 0.45
TEST_FFunction · 0.45

Calls 1

swapMethod · 0.45

Tested by

no test coverage detected