mirror of https://github.com/CGAL/cgal
Add operator< for two OpenMesh edges
This commit is contained in:
parent
1472ec273c
commit
4438c8651c
|
|
@ -60,6 +60,11 @@ public:
|
|||
}
|
||||
}
|
||||
|
||||
bool operator<(const OMesh_edge& other) const
|
||||
{
|
||||
return this->idx() < other.idx();
|
||||
}
|
||||
|
||||
bool
|
||||
operator!=(const OMesh_edge& other) { return !(*this == other); }
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue