mirror of https://github.com/CGAL/cgal
Fixed the comparison operator in the seam_mesh's halfedge_descriptor
A simple comparison between the halfedge_descriptor of the base mesh is enough
This commit is contained in:
parent
71abaa7249
commit
22c1ea15ff
|
|
@ -72,6 +72,9 @@ struct Seam_mesh_halfedge_descriptor
|
||||||
|
|
||||||
bool operator<(const Seam_mesh_halfedge_descriptor& other) const
|
bool operator<(const Seam_mesh_halfedge_descriptor& other) const
|
||||||
{
|
{
|
||||||
|
if(tmhd == other.tmhd)
|
||||||
|
return static_cast<int>(seam) < static_cast<int>(other.seam);
|
||||||
|
|
||||||
return tmhd < other.tmhd;
|
return tmhd < other.tmhd;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue