Update of /cvsroot/fudaa/fudaa_devel/ebli/src/org/fudaa/ebli/graphe
In directory sc8-pr-cvs1:/tmp/cvs-serv15000/graphe
Modified Files:
Courbe.java Graphe.java
Log Message:
Maj general
Index: Courbe.java
===================================================================
RCS file: /cvsroot/fudaa/fudaa_devel/ebli/src/org/fudaa/ebli/graphe/Courbe.java,v
retrieving revision 1.7
retrieving revision 1.8
diff -C2 -d -r1.7 -r1.8
*** Courbe.java 19 Dec 2003 12:06:41 -0000 1.7
--- Courbe.java 21 Jan 2004 11:02:19 -0000 1.8
***************
*** 132,136 ****
r[3]= r[2];
double t;
! for (int i= n - 2; i >= 0; i--) {
t= getX(i);
if (t < r[0])
--- 132,136 ----
r[3]= r[2];
double t;
! for (int i= n - 1; i >= 0; i--) {
t= getX(i);
if (t < r[0])
Index: Graphe.java
===================================================================
RCS file: /cvsroot/fudaa/fudaa_devel/ebli/src/org/fudaa/ebli/graphe/Graphe.java,v
retrieving revision 1.11
retrieving revision 1.12
diff -C2 -d -r1.11 -r1.12
*** Graphe.java 19 Dec 2003 14:18:14 -0000 1.11
--- Graphe.java 21 Jan 2004 11:02:19 -0000 1.12
***************
*** 79,83 ****
public double[] getMinMaxXY() {
- int n= grComponents.size() - 1;
double[] minMax= new double[4];
boolean init= false;
--- 79,82 ----
***************
*** 86,90 ****
double ymin= 0;
double ymax= 0;
! for (int i= n; i >= 0; i--) {
if (getGrapheComponent(i).getMinMax(minMax)) {
if (!init) {
--- 85,89 ----
double ymin= 0;
double ymax= 0;
! for (int i= grComponents.size() - 1; i >= 0; i--) {
if (getGrapheComponent(i).getMinMax(minMax)) {
if (!init) {
***************
*** 108,113 ****
}
}
! n= courbes.size() - 1;
! for (int i= n; i >= 0; i--) {
if (((Courbe)courbes.get(i)).getMinMax(minMax)) {
if (!init) {
--- 107,111 ----
}
}
! for (int i= courbes.size() - 1; i >= 0; i--) {
if (((Courbe)courbes.get(i)).getMinMax(minMax)) {
if (!init) {
|