public class PunktScaler extends java.lang.Object implements ScaleChanger
| Modifier and Type | Field and Description | 
|---|---|
protected int | 
dimension  | 
protected double[] | 
mins  | 
protected double[] | 
ranges  | 
| Constructor and Description | 
|---|
PunktScaler(int dimension,
           double[] mins,
           double[] ranges)  | 
PunktScaler(PirolPoint[] punktArray)  | 
| Modifier and Type | Method and Description | 
|---|---|
protected void | 
getValuesFromArray(PirolPoint[] array)  | 
double | 
scale(double value,
     int dimension)  | 
double | 
unScale(double value,
       int dimension)  | 
protected int dimension
protected double[] mins
protected double[] ranges
public PunktScaler(int dimension,
           double[] mins,
           double[] ranges)
public PunktScaler(PirolPoint[] punktArray)
protected void getValuesFromArray(PirolPoint[] array) throws java.lang.Exception
java.lang.Exceptionpublic double scale(double value,
           int dimension)
scale in interface ScaleChangerpublic double unScale(double value,
             int dimension)
unScale in interface ScaleChanger