From 86617dd87237da5f2b611ff4ea66164a1359ab98 Mon Sep 17 00:00:00 2001 From: cignoni Date: Wed, 18 Jan 2012 11:42:08 +0000 Subject: [PATCH] Changed the name of Clean::IsOrientedMesh() -> Clean::OrientCoherentlyMesh() It is a mesh changing method! --- vcg/complex/algorithms/clean.h | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/vcg/complex/algorithms/clean.h b/vcg/complex/algorithms/clean.h index 3d6c474a..49545556 100644 --- a/vcg/complex/algorithms/clean.h +++ b/vcg/complex/algorithms/clean.h @@ -1194,12 +1194,15 @@ private: Semiregular = false; } } - - static void IsOrientedMesh(MeshType &m, bool &Oriented, bool &Orientable) +// static void IsOrientedMesh(MeshType &m, bool &Oriented, bool &Orientable) + static void OrientCoherentlyMesh(MeshType &m, bool &Oriented, bool &Orientable) { assert(&Oriented != &Orientable); // This algorithms requires FF topology assert(m.HasFFTopology()); + // This algorithms require FF topology initialized + assert(m.face.back().FFp(0)); + Orientable = true; Oriented = true;