org.geotools.referencing.operation.builder
Class AffineToGeometric

java.lang.Object
  extended by org.geotools.referencing.operation.builder.AffineToGeometric

public class AffineToGeometric
extends java.lang.Object

Helper class for converting values from affine transformation matrix to its geometric form. Development carried out thanks to R&D grant DC08P02OUK006 - Old Maps Online (www.oldmapsonline.org) from Ministry of Culture of the Czech Republic

Version:
$Id: AffineToGeometric.java 31099 2008-07-29 09:31:53Z desruisseaux $
Author:
jezekjan
See Also:
http://groups.csail.mit.edu/graphics/classes/6.837/F98/Notes/lecture10.ps

Constructor Summary
AffineToGeometric(AffineTransform2D trans)
          Constructs AffineToGeometric from AffineTransform2D
 
Method Summary
 double getSkew()
          Returns skew
 double getXRotation()
          Returns rotation in radians
 double getXScale()
          Returns Scale in x direction
 double getXTranslate()
          Returns translation in x direction
 double getYRotation()
           
 double getYScale()
          Returns Scale in y direction
 double getYTranslate()
          Returns translation in y direction
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AffineToGeometric

public AffineToGeometric(AffineTransform2D trans)
Constructs AffineToGeometric from AffineTransform2D

Parameters:
trans - Affine transformation from which we want to get geometric coefficients.
Method Detail

getXScale

public double getXScale()
Returns Scale in x direction

Returns:
scale in x direction

getYScale

public double getYScale()
Returns Scale in y direction

Returns:
scale in y direction

getSkew

public double getSkew()
Returns skew

Returns:
skew

getXTranslate

public double getXTranslate()
Returns translation in x direction

Returns:
translation in x direction

getYTranslate

public double getYTranslate()
Returns translation in y direction

Returns:
translation in y direction

getXRotation

public double getXRotation()
Returns rotation in radians

Returns:
rotation in radians

getYRotation

public double getYRotation()


Copyright © 1996-2010 Geotools. All Rights Reserved.