Changeset 2092 in Sophya for trunk/SophyaPI/PIext/pintuple.cc


Ignore:
Timestamp:
Jul 14, 2002, 7:03:43 PM (23 years ago)
Author:
cmv
Message:

intro PERC_GARDE pour localiser les pb cmv 14/7/2002

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/SophyaPI/PIext/pintuple.cc

    r1975 r2092  
    55#include <stdio.h>
    66#include "pintuple.h"
     7
     8#define PERC_GARDE 0.02
    79
    810//++
     
    131133  mNT->GetMinMax(yK, ymin, ymax);
    132134   
    133   dx = 0.02*(xmax-xmin);
    134   dy = 0.02*(ymax-ymin);
     135  dx = PERC_GARDE*(xmax-xmin);
     136  dy = PERC_GARDE*(ymax-ymin);
    135137 
    136138  SetLimits(xmin-dx, xmax+dx, ymin-dy, ymax+dy);
Note: See TracChangeset for help on using the changeset viewer.