Merge branch 'fix_HalfedgeLoopCCWIter' into 'master'

Fix halfedge loop ccw iter

Closes #39

See merge request !128
This commit is contained in:
Jan Möbius
2017-02-20 18:38:37 +01:00
2 changed files with 3 additions and 3 deletions

View File

@@ -192,12 +192,12 @@ public:
&Iterators::GenericCirculatorBaseT<This>::toHalfedgeHandle>
HalfedgeLoopIter;
typedef Iterators::GenericCirculatorT<This, This::FaceHandle, This::HalfedgeHandle,
&Iterators::GenericCirculatorBaseT<This>::toHalfedgeHandle> HalfedgeLoopCWIter;
&Iterators::GenericCirculatorBaseT<This>::toHalfedgeHandle, false> HalfedgeLoopCWIter;
/**
* Identical to #FaceHalfedgeIter. God knows why this typedef exists.
*/
typedef Iterators::GenericCirculatorT<This, This::FaceHandle, This::HalfedgeHandle,
&Iterators::GenericCirculatorBaseT<This>::toHalfedgeHandle, false>
&Iterators::GenericCirculatorBaseT<This>::toHalfedgeHandle>
HalfedgeLoopCCWIter;
typedef VertexVertexIter ConstVertexVertexIter;

View File

@@ -287,7 +287,7 @@ TEST_F(OpenMeshTrimeshCirculatorHalfedgeLoop, CWAndCCWCheck) {
*/
int indices[4] = {3, 8, 6, 3};
int indices[4] = {3, 6, 8, 3};
int rev_indices[4];
std::reverse_copy(indices,indices+4,rev_indices);