Skip to content

Commit

Permalink
Merge pull request BrunoLevy#210 from tksuoran/const_find_edge
Browse files Browse the repository at this point in the history
Make MeshFacets::find_edge() const
  • Loading branch information
BrunoLevy authored Jan 31, 2025
2 parents 396b3d3 + 41351dc commit 4b41ed5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/lib/geogram/mesh/mesh.h
Original file line number Diff line number Diff line change
Expand Up @@ -1169,7 +1169,7 @@ namespace GEO {
* \return the edge le such that vertex(f,le) = v1 and
* vertex(f, (le+1)%nb_vertices(f)) == v2
*/
index_t find_edge(index_t f, index_t v1, index_t v2) {
index_t find_edge(index_t f, index_t v1, index_t v2) const {
for(index_t c1 = corners_begin(f); c1 != corners_end(f); ++c1) {
index_t c2 = next_corner_around_facet(f,c1);
if(
Expand Down

0 comments on commit 4b41ed5

Please sign in to comment.