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

Class LinearNormalTransform



  • public class LinearNormalTransform
    extends NormalTransform
    Performs a linear transformation on Cartesian axes. The equation is worldvalue = scale * normalized v + offset
    • Constructor Detail

      • LinearNormalTransform

        public LinearNormalTransform(Range ur)
      • LinearNormalTransform

        public LinearNormalTransform(double u1,
                                     double u2)
    • Method Detail

      • convToNR

        public double convToNR(double w)
        Transform from user to normalized coordinates.
        Specified by:
        convToNR in class NormalTransform
        Parameters:
        u - user value
        Returns:
        normalized value
      • convFromNR

        public double convFromNR(double p)
        Description copied from class: NormalTransform
        Transform a value from normalized range to value range.
        Specified by:
        convFromNR in class NormalTransform
        Parameters:
        p - normalized value
        Returns:
        world value
      • getMinPSpan4PrecisionLimit

        public double getMinPSpan4PrecisionLimit(double pLo,
                                                 double pHi,
                                                 double precisionLimit)
        t: the precision limit; u: the abs larger user point of range to zoom in
        The formula: p = _a * u + _b *
                 (u-dU)/u < 1 - t
                 dU/u > t
                 (dP / _a) / ((p - _b) / _a) > t
                 dP > t * (p - _b)
                 [[ _b= getTansP(0) ]]
         
        Specified by:
        getMinPSpan4PrecisionLimit in class NormalTransform
      • getRange4PrecisionLimit

        public Range getRange4PrecisionLimit(Range range,
                                             double precisionLimit)
      • createTransform

        public Transform1D createTransform(double d1,
                                           double d2)
        Description copied from class: NormalTransform
        Create a Transform1D by assign a dest range.
        Specified by:
        createTransform in class NormalTransform
        Parameters:
        d1 - the start value of dest range
        d2 - the end value of dest range
        Returns:
        a Transform1D
      • equals

        public boolean equals(java.lang.Object o)
        Overrides:
        equals in class java.lang.Object

DMelt 3.0 © DataMelt by jWork.ORG

You see the box below because you did not login.