Skip to content

Edge selection fixes#1411

Merged
Grantim merged 3 commits intomasterfrom
Edge_selection_fixes
Jul 11, 2023
Merged

Edge selection fixes#1411
Grantim merged 3 commits intomasterfrom
Edge_selection_fixes

Conversation

@Grantim
Copy link
Contributor

@Grantim Grantim commented Jul 11, 2023

No description provided.

@Grantim Grantim requested a review from Fedr July 11, 2023 12:59
res.set( r );
}
return res;
return getIncidentFaces( topology, getIncidentVerts_( topology, edges ) );
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

New implementation is right, but let us preserve the old one as function getNeighborFaces

[[nodiscard]] MRMESH_API VertBitSet getIncidentVerts( const MeshTopology & topology, const UndirectedEdgeBitSet & edges );
// composes the set of all faces incident to given edges
[[nodiscard]] MRMESH_API FaceBitSet getIncidentFaces( const MeshTopology & topology, const UndirectedEdgeBitSet & edges );
// composes the set of all faces neighboring given edges
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

better say from all left and right faces

@Grantim Grantim merged commit c3261da into master Jul 11, 2023
@Grantim Grantim deleted the Edge_selection_fixes branch July 11, 2023 15:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants