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

Method findIndex

source/MRMesh/MRIntersectionContour.cpp:105–112  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

103}
104
105const int* EdgeTri2IndexMap::findIndex( const VarEdgeTri& item ) const
106{
107 auto& itemSet = hmaps_[bucket_( item )];
108 auto it = itemSet.find( item.edgeTri() );
109 if ( it == itemSet.end() )
110 return {};
111 return &it->second;
112}
113
114struct AccumulativeSet
115{

Callers 1

findNextFunction · 0.80

Calls 3

edgeTriMethod · 0.80
findMethod · 0.45
endMethod · 0.45

Tested by

no test coverage detected