MCPcopy Create free account
hub / github.com/ThatOpen/engine_web-ifc / Clear

Method Clear

src/cpp/web-ifc/cache/IfcCache.cpp:28–36  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

26 }
27
28 void IfcCache::Clear()
29 {
30 _expressIDToPlacement.clear();
31 std::unordered_map<uint32_t, glm::dmat4>().swap(_expressIDToPlacement);
32 _cartesianPoint3DCache.clear();
33 std::unordered_map<uint32_t, glm::dvec3>().swap(_cartesianPoint3DCache);
34 _cartesianPoint2DCache.clear();
35 std::unordered_map<uint32_t, glm::dvec2>().swap(_cartesianPoint2DCache);
36 }
37
38 std::unordered_map<uint32_t, std::vector<uint32_t>> IfcCache::PopulateRelVoidsMap()
39 {

Callers 2

StreamMeshesFunction · 0.45
ResetCacheFunction · 0.45

Calls 1

clearMethod · 0.65

Tested by

no test coverage detected