Add operator< for two OpenMesh edges

This commit is contained in:
Andreas Fabri 2015-05-12 19:33:57 +02:00
parent 1472ec273c
commit 4438c8651c
1 changed files with 5 additions and 0 deletions

View File

@ -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); }