Création d'un compte pour un collaborateur extérieur au laboratoire depuis l'intranet ICube : https://intranet.icube.unistra.fr/fr/labs/member/profile

Commit 55462258 by Pierre Kraemer

parent 58858e5a
 ... ... @@ -24,6 +24,9 @@ #include "Algo/Geometry/basic.h" #include "Algo/Geometry/area.h" #include "Topology/generic/traversor2.h" #include namespace CGoGN ... ... @@ -53,20 +56,22 @@ typename PFP::VEC3 triangleNormal(typename PFP::MAP& map, Dart d, const typename template typename PFP::VEC3 newellNormal(typename PFP::MAP& map, Dart d, const typename PFP::TVEC3& position) { Dart e = d; typename PFP::VEC3 normal(0); Dart it = d; typename PFP::VEC3 N(0); Traversor2FV t(map, d) ; do { const typename PFP::VEC3& P = position[e]; e = map.phi1(e); const typename PFP::VEC3& Q = position[e]; normal[0] += (P[1] - Q[1]) * (P[2] + Q[2]); normal[1] += (P[2] - Q[2]) * (P[0] + Q[0]); normal[2] += (P[0] - Q[0]) * (P[1] + Q[1]); } while (e != d); normal.normalize(); return normal; const typename PFP::VEC3& P = position[it]; it = map.phi1(it); const typename PFP::VEC3& Q = position[it]; N[0] += (P[1] - Q[1]) * (P[2] + Q[2]); N[1] += (P[2] - Q[2]) * (P[0] + Q[0]); N[2] += (P[0] - Q[0]) * (P[1] + Q[1]); } while (it != d); N.normalize(); return N; } template ... ...
 ... ... @@ -297,7 +297,6 @@ inline void MapRender::addTri(typename PFP::MAP& map, Dart d, std::vector(map, d, tableIndices); return; } ... ...
 ... ... @@ -40,7 +40,7 @@ private: Dart current ; public: TraversorCell(MAP& map) : m(map), mark(map) TraversorCell(MAP& map, unsigned int thread = 0) : m(map), mark(map, thread) {} Dart begin() ... ... @@ -77,28 +77,28 @@ template class TraversorV : public TraversorCell { public: TraversorV(MAP& m) : TraversorCell(m) {} TraversorV(MAP& m, unsigned int thread = 0) : TraversorCell(m, thread) {} }; template class TraversorE : public TraversorCell { public: TraversorE(MAP& m) : TraversorCell(m) {} TraversorE(MAP& m, unsigned int thread = 0) : TraversorCell(m, thread) {} }; template class TraversorF : public TraversorCell { public: TraversorF(MAP& m) : TraversorCell(m) {} TraversorF(MAP& m, unsigned int thread = 0) : TraversorCell(m, thread) {} }; template class TraversorW : public TraversorCell { public: TraversorW(MAP& m) : TraversorCell(m) {} TraversorW(MAP& m, unsigned int thread = 0) : TraversorCell(m, thread) {} }; } // namespace CGoGN ... ...
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!