alliance-programmers '01
ALC : CVS loginfo, ocp/src


Christophe Alexandre (Christophe.Alexandre@asim.lip6.fr)
Mon, 24 Sep 2001 20:31:14 +0200

=================================================================== Modification le : Mon Sep 24 20:30:59 CEST 2001 Par : xtof =================================================================== Update of /users/outil/alliance/cvsroot/alliance/sources/ocp/src In directory bip.lip6.fr:/users/cao/xtof/alliance/sources/ocp/src Modified Files: PPlacement.cpp Log Message: recorrection d'un bug dans le choix des lignes ... =================================================================== Index: PPlacement.cpp =================================================================== RCS file: /users/outil/alliance/cvsroot/alliance/sources/ocp/src/PPlacement.cpp,v retrieving revision 1.29 retrieving revision 1.30 diff -r1.29 -r1.30 1319a1320 > 1321c1322 < if ((bornesup = row->GetMinY() + (double)(int)(dist * GetHeight() + 0.5) ) > GetHeight()) --- > if ((bornesup = (row->GetMinY() + row->GetHeight() / 2.0) + (double)(int)(dist * GetHeight() + 0.5) ) > GetMaxY()) 1324c1325 < if ((borneinf = row->GetMinY() - (double)(int)(dist * GetHeight() + 0.5) ) < GetHeight()) --- > if ((borneinf = (row->GetMinY() + row->GetHeight() / 2.0) - (double)(int)(dist * GetHeight() + 0.5) ) < GetMinY()) 1330c1331 < unsigned randidx = (unsigned)((double)(rsup->second - rinf->second + 1) * (rand() / (RAND_MAX+1.0))); --- > unsigned randidx = rinf->second + (unsigned)((double)(rsup->second - rinf->second + 1) * (rand() / (RAND_MAX+1.0))); =================================================================== Ce message est envoyé au personnes abonnées à alliance-programmers Pour plus d'information sur cette mailling-list, visitez : http://www-asim.lip6.fr/alliance/mailing-lists/

 



Alliance Web Site © 1997, 2002 ASIM/LIP6/UPMC, page maintained by Czo [Olivier Sirol] , last updated on 25 September 2001.