// devenu un commentaire aretmx = Min( aretmx, aremax ); //pour homogeneiser
// protection contre une arete max desiree trop grande ou trop petite
-// if( aretmx > aremax*2.05 ) aretmx = aremax;
+ if( aretmx > aremax*2.05 ) aretmx = aremax;
-// // protection contre une arete max desiree trop petite
-// if( (aremax-aremin) > (aremin+aremax)*0.05 && aretmx < aremin*0.5 )
-// aretmx =(aremin+aremax*2)/3.0;
+ // protection contre une arete max desiree trop petite
+ if( (aremax-aremin) > (aremin+aremax)*0.05 && aretmx < aremin*0.5 )
+ aretmx =(aremin+aremax*2)/3.0;
-// if( aretmx < aremin && aremin > 0 )
-// aretmx = aremin;
+ if( aretmx < aremin && aremin > 0 )
+ aretmx = aremin;
//sauvegarde pour la fonction areteideale_
aretemaxface_ = aretmx;
if( mntree==NULL ) goto ERREUR;
//initialisation du tableau letree et ajout dans letree des sommets 1 a nbsomm
+ comxmi[0].x = comxmi[1].x = uvslf[0].x;
+ comxmi[0].y = comxmi[1].y = uvslf[0].y;
teajte( mxsomm, nbsomm, mnpxyd, comxmi, aretmx, mxtree, mntree, ierr );
comxmi[0].z=0;
comxmi[1].z=0;