Class PunktScaler

    • Field Detail

      • dimension

        protected int dimension
      • mins

        protected double[] mins
      • ranges

        protected double[] ranges
    • Constructor Detail

      • PunktScaler

        public PunktScaler​(int dimension,
                           double[] mins,
                           double[] ranges)
      • PunktScaler

        public PunktScaler​(PirolPoint[] punktArray)
    • Method Detail

      • scale

        public double scale​(double value,
                            int dimension)
        Specified by:
        scale in interface ScaleChanger
      • unScale

        public double unScale​(double value,
                              int dimension)
        Specified by:
        unScale in interface ScaleChanger