1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19
| double* TableAreaStar;
double** TableDeltaLambda;
double** TableVertex;
double** TableNormal;
void AllocateTables()//allocation de 3 tableaux (réservation du place dans la mémoire)
{
TableAreaStar=new double [Input->GetNumberOfPoints()];
TableVertex=new double* [Input->GetNumberOfPoints()];
TableDeltaLambda=new double* [Input->GetNumberOfPoints()];// alloctaion
for (int i=0; i<this->Input->GetNumberOfPoints(); i++)
{
TableDeltaLambda[i]=new double [3];
TableVertex[i]=new double[3];
Input->GetPointCoordinates(i,TableVertex[i]);//mon tableau contien tous les sommets initiaux
}
}///////////le 4 éme de la même manière |
Partager