TPoint Point;
bool IsPoint;
bool IsUnified;
- TSeed( ) : IsUnified( false ) { }
+ TFrontId FrontId;
+ TSeed( )
+ : IsUnified( false ),
+ FrontId( TFrontId( 0 ) )
+ { }
};
typedef std::vector< TSeed > TSeeds;
sIt->IsUnified = true;
node.Vertex = sIt->Vertex;
node.Parent = node.Vertex;
- node.FrontId = nodes.size( ) + 1;
+ if( sIt->FrontId == 0 )
+ node.FrontId = nodes.size( ) + 1;
+ else
+ node.FrontId = sIt->FrontId;
nodes.insert( node );
}
else
typename TSeedsInterface::TSeed seed;
seed.Vertex = lIt.GetIndex( );
seed.IsPoint = false;
+ seed.FrontId = lIt.Get( );
this->m_Seeds.push_back( seed );
} // fi