Revision 50 org.gvsig.lrs/trunk/org.gvsig.lrs/org.gvsig.lrs.lib/org.gvsig.lrs.lib.impl/src/main/java/org/gvsig/lrs/lib/impl/LrsAlgorithmUtils.java

View differences:

LrsAlgorithmUtils.java
473 473
    }
474 474

  
475 475
    /**
476
     * Same as straightLineThroughTwoPointsEquation but with more human readable arguments
477
     *
478
     * @param oldMin
479
     * @param oldMax
480
     * @param newMin
481
     * @param newMax
482
     * @param m
483
     * @return double
484
     *
485
     * @deprecated Use {@link #straightLineThroughTwoPointsEquation()} instead.
486
     */
487
    @Deprecated
488
    static protected double calculateNewM(double oldMin, double oldMax, double newMin, double newMax, double m){
489
        //TO REMOVE
490
        return straightLineThroughTwoPointsEquation(oldMin, oldMax, newMin, newMax, m);
491
    }
492

  
493

  
494
    /**
495 476
     * Straight line through two points equation.
496 477
     *
497 478
     * @param x1

Also available in: Unified diff