Changed the name of Clean::IsOrientedMesh() -> Clean::OrientCoherentlyMesh()

It is a mesh changing method!
This commit is contained in:
Paolo Cignoni 2012-01-18 11:42:08 +00:00
parent 57e4689e1b
commit 86617dd872
1 changed files with 5 additions and 2 deletions

View File

@ -1194,12 +1194,15 @@ private:
Semiregular = false; 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); assert(&Oriented != &Orientable);
// This algorithms requires FF topology // This algorithms requires FF topology
assert(m.HasFFTopology()); assert(m.HasFFTopology());
// This algorithms require FF topology initialized
assert(m.face.back().FFp(0));
Orientable = true; Orientable = true;
Oriented = true; Oriented = true;