1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62
|
for (int i = 0; i < nbICell.size(); ++i){
std::vector<T> coord;
//on va creer nos points
while (cmp < nbICell[i]){
//les 0-cellules
if(i == 0){
coord = listFieldLine(listLine[cmp + cmp2]);
Point<dimensionPoint,T> * point = new Point<dimensionPoint,T>();
for (int j = 0 ; j < coord.size() ; ++j){
(*point)[j] = coord[j];
}
add0Cell(*point);
}
//les i-cellules
else{
coord = listFieldLine(listLine[cmp + cmp2]);
//listICell * border = _structComplex[0];
//cout << border->size() << std::endl;
AbstractICell * lol = new ICell<i,2,int>();
//border->displayICell();
//AbstractICell iCellTemp;
//for (int j = 0 ; j < coord.size() ; ++j){
// border->push_back(coord[j]);
//}
//std::cout << std::endl;
}
cmp ++;
}
cmp2 += cmp;
cmp = 0;
} |