]> Creatis software - FrontAlgorithms.git/blobdiff - lib/fpa/Base/MinimumSpanningTree.h
Skeletonization ready to use
[FrontAlgorithms.git] / lib / fpa / Base / MinimumSpanningTree.h
index be6dae416b8fbbfe35e06ffb84de137dd3759b5e..a020d4795d1f78e25f0d13fab1cc006971c63f46 100644 (file)
@@ -46,7 +46,12 @@ namespace fpa
           this->Get( )[ v ] = TNodeInfo( p, fid );
           this->Modified( );
         }
-
+      void Clear( )
+        {
+          this->Get( ).clear( );
+          this->m_Collisions.clear( );
+          this->m_FrontPaths.clear( );
+        }
       virtual void GetPath(
         std::vector< V >& path, const V& a, const V& b
         ) const;