Skip to content

Commit

Permalink
STL_extension: Add conversion operator
Browse files Browse the repository at this point in the history
  • Loading branch information
afabri committed Sep 8, 2024
1 parent ce678a6 commit 22151a5
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions STL_Extension/include/CGAL/hash_openmesh.h
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,10 @@ class OMesh_edge {
}
}

operator OpenMesh::EdgeHandle () const {
return OpenMesh::EdgeHandle(idx());
}

bool operator<(const OMesh_edge& other) const
{
return this->idx() < other.idx();
Expand Down

0 comments on commit 22151a5

Please sign in to comment.