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

Function getInnerEdges

source/MRMesh/MRRegionBoundary.cpp:490–503  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

488}
489
490UndirectedEdgeBitSet getInnerEdges( const MeshTopology & topology, const VertBitSet& verts )
491{
492 MR_TIMER;
493 UndirectedEdgeBitSet res( topology.undirectedEdgeSize() );
494 for ( auto v : verts )
495 {
496 for ( auto e : orgRing( topology, v ) )
497 {
498 if ( verts.test( topology.dest( e ) ) )
499 res.set( e.undirected() );
500 }
501 }
502 return res;
503}
504
505UndirectedEdgeBitSet getInnerEdges( const MeshTopology & topology, const FaceBitSet& region )
506{

Callers 4

onMouseUp_Method · 0.85
EMSCRIPTEN_BINDINGSFunction · 0.85
dilateRegionByMetricFunction · 0.85
erodeRegionByMetricFunction · 0.85

Calls 9

orgRingFunction · 0.85
undirectedMethod · 0.80
getTriEdgesMethod · 0.80
leftMethod · 0.80
rightMethod · 0.80
undirectedEdgeSizeMethod · 0.45
testMethod · 0.45
destMethod · 0.45
setMethod · 0.45

Tested by

no test coverage detected