int ccFastMarchingForNormsDirection::propagate()
{
	int iteration = 0;
	int result=1;

	//fp = fopen("trace_time.txt","wt");

	//initialisation de la liste des "TRIAL" cells
	initTrialCells();

	initLastT();

	while (result>0)
	{
		result = step();

		//printf("%i\n",iteration);

		++iteration;
	}

	//fclose(fp);

	//if (result<0) printf("[ccFastMarchingForNormsDirection::propagate] fin (probleme)");

	return result;
}
int ccFastMarchingForNormsDirection::propagate()
{
	//init "TRIAL" set with seed's neighbors
	initTrialCells();

	int result = 1;
	while (result > 0)
	{
		result = step();
	}

	return result;
}