The edge comparer implemented for the unit testing purpose fails to check which extremities of the two edges it compares are coincident. In particular, given a comparer comparer and two edges edge1 and edge2,
The unit tests must be adapted, since the ordering of the edges is modified. Using the figure 'complex_shape.svg', it is now trivial (but tedious...) to determine consistently the previous and next half edge of a given half edge by following the boundary of the associated face, keeping the face on the left side of the half edges.
The edge comparer implemented for the unit testing purpose fails to check which extremities of the two edges it compares are coincident. In particular, given a comparer
comparer
and two edgesedge1
andedge2
,and
or any combination should return the same result.
The unit tests must be adapted, since the ordering of the edges is modified. Using the figure 'complex_shape.svg', it is now trivial (but tedious...) to determine consistently the previous and next half edge of a given half edge by following the boundary of the associated face, keeping the face on the left side of the half edges.