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

Function elementMap

tests/src/Mod/Part/App/TopoShapeMakeShapeWithElementMap.cpp:114–122  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

112}
113
114std::map<IndexedName, MappedName> elementMap(const TopoShape& shape)
115{
116 std::map<IndexedName, MappedName> result {};
117 auto elements = shape.getElementMap();
118 for (auto const& entry : elements) {
119 result[entry.index] = entry.name;
120 }
121 return result;
122}
123
124// TEST_F(TopoShapeMakeShapeWithElementMapTests, mapVertex)
125// TEST_F(TopoShapeMakeShapeWithElementMapTests, mapEdge)

Callers 1

TEST_FFunction · 0.70

Calls 1

getElementMapMethod · 0.45

Tested by

no test coverage detected