Documentation of 'org.jplot2d.transform.LinearTransform' Java class
LinearTransform
org.jplot2d.transform

Class LinearTransform

  • All Implemented Interfaces:
    Transform1D


    public class LinearTransform
    extends java.lang.Object
    implements Transform1D
    Performs a linear transformation. The equation is dest value = src value * k + a
    • Constructor Summary

      Constructors 
      Constructor and Description
      LinearTransform(double offset, double scale, double d1, double d2) 
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method and Description
      double convert(double u)
      Transform from src to dest coordinates.
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • LinearTransform

        public LinearTransform(double offset,
                               double scale,
                               double d1,
                               double d2)
        Parameters:
        offset - the offset in LinearNormalTransform
        scale - the scale in LinearNormalTransform
        d1 - the start value in destination
        d2 - the end value in destination
    • Method Detail

      • convert

        public double convert(double u)
        Transform from src to dest coordinates.
        Specified by:
        convert in interface Transform1D
        Parameters:
        u - src value
        Returns:
        dest value

DMelt 3.0 © DataMelt by jWork.ORG

You see the box below because you did not login.