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

Method sharedFace

source/MRMesh/MRMeshTopology.cpp:931–947  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

929}
930
931FaceId MeshTopology::sharedFace( EdgeId a, EdgeId b ) const
932{
933 assert( a && b );
934 const auto al = left( a );
935 const auto bl = left( b );
936 if ( al && al == bl )
937 return al;
938 const auto ar = right( a );
939 if ( ar && ar == bl )
940 return ar;
941 const auto br = right( b );
942 if ( al && al == br )
943 return al;
944 if ( ar && ar == br )
945 return ar;
946 return {};
947}
948
949FaceId MeshTopology::lastValidFace() const
950{

Callers 1

reducePathFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected