Package org.geotools.referencing.operation.transform

Examples of org.geotools.referencing.operation.transform.LinearTransform1D


    // //
    //
    // Inverse
    //
    // //
    LinearTransform1D tempTransform = (LinearTransform1D) transform;
    final double scale = tempTransform.scale;
    if (Math.abs(scale) < 1E-6)
      if (PiecewiseUtilities.compare(getInputMaximum(), getInputMinimum()) == 0)
        setInverse(LinearTransform1D.create(0, getInputMinimum()));
      else
View Full Code Here


   *
   * @return the scale factor for this linear {@link PiecewiseTransform1DElement}.
   */
  public double getScale(){
    //get the transform at this point it is linear for sure
    final LinearTransform1D transform= (LinearTransform1D) getTransform();
    return transform.scale;
   
  }
View Full Code Here

   *
   * @return the offset factor for this linear {@link PiecewiseTransform1DElement}.
   */
  public double getOffset(){
    //get the transform at this point it is linear for sure
    final LinearTransform1D transform= (LinearTransform1D) getTransform();
    return transform.offset;
   
  }
View Full Code Here

TOP

Related Classes of org.geotools.referencing.operation.transform.LinearTransform1D

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.