src/cdtGen.cpp
/*! \fn void CDTGenerator::copyLCCToLCCWithIntInfo()
 *  \brief Intializes a LCC with integer attribute for an input LCC.
 *  \param [in] lcc Input linear cell complex.
 *  \param [out] lccWithIntInfo Corresponding linear cell complex with integer attribute associated with darts.
 */
\fn void CDTGenerator::copyLCCToLCCWithIntInfo()
\brief Intializes a LCC with integer attribute for an input LCC.
\param [in] lcc Input linear cell complex.
\param [out] lccWithIntInfo Corresponding linear cell complex with integer attribute associated with darts.
\ fn void CDTGenerator :: copyLCCToLCCWithIntInfo () \ brief Intializes a LCC with integer attribute for an input LCC . \ param [ in ] lcc Input linear cell complex . \ param [ out ] lccWithIntInfo Corresponding linear cell complex with integer attribute associated with darts .
void CDTGenerator::copyLCCToLCCWithIntInfo(LCC &lcc, LCCWithIntInfo &lccWithIntInfo)
{
	CGALPoint p[4];
	size_t i;
	for (LCC::One_dart_per_cell_range<3>::iterator cellHandle = lcc.one_dart_per_cell<3>().begin(), cellHandleEnd = lcc.one_dart_per_cell<3>().end(); cellHandle != cellHandleEnd; cellHandle++)
	{
		i = 0;
		for (LCC::One_dart_per_incident_cell_range<0, 3>::iterator pointHandle = lcc.one_dart_per_incident_cell<0, 3>(cellHandle).begin(), pointHandleEnd = lcc.one_dart_per_incident_cell<0, 3>(cellHandle).end(); pointHandle != pointHandleEnd; pointHandle++)
			p[i++] = lcc.point(pointHandle);
		lccWithIntInfo.make_tetrahedron(p[0], p[1], p[2], p[3]);
	}
}
void CDTGenerator :: copyLCCToLCCWithIntInfo ( LCC & lcc , LCCWithIntInfo & lccWithIntInfo ) { CGALPoint p [ 4 ] ; size_t i ; for ( LCC :: One_dart_per_cell_range < 3 > :: iterator cellHandle = lcc . one_dart_per_cell < 3 > ( ) . begin ( ) , cellHandleEnd = lcc . one_dart_per_cell < 3 > ( ) . end ( ) ; cellHandle != cellHandleEnd ; cellHandle ++ ) { i = 0 ; for ( LCC :: One_dart_per_incident_cell_range < 0 , 3 > :: iterator pointHandle = lcc . one_dart_per_incident_cell < 0 , 3 > ( cellHandle ) . begin ( ) , pointHandleEnd = lcc . one_dart_per_incident_cell < 0 , 3 > ( cellHandle ) . end ( ) ; pointHandle != pointHandleEnd ; pointHandle ++ ) p [ i ++ ] = lcc . point ( pointHandle ) ; lccWithIntInfo . make_tetrahedron ( p [ 0 ] , p [ 1 ] , p [ 2 ] , p [ 3 ] ) ; } }
\fn void CDTGenerator::copyLCCToLCCWithIntInfo()
  \brief Intializes a LCC with integer attribute for an input LCC.
\ fn void CDTGenerator :: copyLCCToLCCWithIntInfo () \ brief Intializes a LCC with integer attribute for an input LCC .
//copy tets