Commit 98f4c489 by Kenneth Vanhoey

### corrections sur gestion des boundingbox

parent c6d8c4e1
 ... @@ -26,6 +26,7 @@ ... @@ -26,6 +26,7 @@ #define __EDGESELECTOR_H__ #define __EDGESELECTOR_H__ #include "Algo/Decimation/selector.h" #include "Algo/Decimation/selector.h" #include "Algo/Geometry/boundingbox.h" #include "Container/fakeAttribute.h" #include "Container/fakeAttribute.h" #include "Utils/qem.h" #include "Utils/qem.h" ... ...
 ... @@ -41,7 +41,7 @@ namespace Geometry ... @@ -41,7 +41,7 @@ namespace Geometry template template Geom::BoundingBox computeBoundingBox(typename PFP::MAP& map, const typename PFP::TVEC3& position, const FunctorSelect& select = SelectorTrue()) Geom::BoundingBox computeBoundingBox(typename PFP::MAP& map, const typename PFP::TVEC3& position, const FunctorSelect& select = SelectorTrue()) { { Geom::BoundingBox bb(position[map.begin()]) ; Geom::BoundingBox bb ; CellMarker vmarker(map, VERTEX); CellMarker vmarker(map, VERTEX); for(Dart d = map.begin(); d != map.end(); map.next(d)) for(Dart d = map.begin(); d != map.end(); map.next(d)) ... ...
 ... @@ -129,6 +129,7 @@ void BoundingBox::addPoint(const VEC& p) ... @@ -129,6 +129,7 @@ void BoundingBox::addPoint(const VEC& p) { { m_pMin = p ; m_pMin = p ; m_pMax = p ; m_pMax = p ; m_initialized = true ; } } else else { { ... ...
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!