src/cdtGen.cpp
/*! \fn void CDTGenerator::recoverConstraintSegments()
    \brief Top-level routine for recovering constraint segments.

    Missing constriant segments of PLC are recovered by spliting the segments in such a way so that resulting sub-segments become _strongly Delaunay_.
*/
\fn void CDTGenerator::recoverConstraintSegments()
\brief Top-level routine for recovering constraint segments.

Missing constriant segments of PLC are recovered by spliting the segments in such a way so that resulting sub-segments become _strongly Delaunay_.
\ fn void CDTGenerator :: recoverConstraintSegments () \ brief Top - level routine for recovering constraint segments . Missing constriant segments of PLC are recovered by spliting the segments in such a way so that resulting sub - segments become _strongly Delaunay_ .
void CDTGenerator::recoverConstraintSegments()
{
	DartHandle missingSegment;
	cout << "Constraint segment recovery starts..." << endl;
	formMissingSegmentsQueue();
	do
	{
		cout << "Number of missing segments: " << missingSegmentQueue.size() << endl;
		size_t i = 0;
		while (missingSegmentQueue.size() != 0)
		{
			cout << "Segment recovery iteration: #" << i << endl;
			missingSegment = missingSegmentQueue.back();
			missingSegmentQueue.pop_back();
			splitMissingSegment(missingSegment);
			i++;
		}
		formMissingSegmentsQueue();
	}while (missingSegmentQueue.size() != 0);
	return;
}
void CDTGenerator :: recoverConstraintSegments ( ) { DartHandle missingSegment ; cout << " " << endl ; formMissingSegmentsQueue ( ) ; do { cout << " " << missingSegmentQueue . size ( ) << endl ; size_t i = 0 ; while ( missingSegmentQueue . size ( ) != 0 ) { cout << " " << i << endl ; missingSegment = missingSegmentQueue . back ( ) ; missingSegmentQueue . pop_back ( ) ; splitMissingSegment ( missingSegment ) ; i ++ ; } formMissingSegmentsQueue ( ) ; } while ( missingSegmentQueue . size ( ) != 0 ) ; return ; }
\fn void CDTGenerator::recoverConstraintSegments()
\brief Top-level routine for recovering constraint segments.
\ fn void CDTGenerator :: recoverConstraintSegments () \ brief Top - level routine for recovering constraint segments .