Java Doc for LinearTransform1D.java in  » GIS » GeoTools-2.4.1 » org » geotools » referencing » operation » transform » Java Source Code / Java DocumentationJava Source Code and Java Documentation

Java Source Code / Java Documentation
1. 6.0 JDK Core
2. 6.0 JDK Modules
3. 6.0 JDK Modules com.sun
4. 6.0 JDK Modules com.sun.java
5. 6.0 JDK Modules sun
6. 6.0 JDK Platform
7. Ajax
8. Apache Harmony Java SE
9. Aspect oriented
10. Authentication Authorization
11. Blogger System
12. Build
13. Byte Code
14. Cache
15. Chart
16. Chat
17. Code Analyzer
18. Collaboration
19. Content Management System
20. Database Client
21. Database DBMS
22. Database JDBC Connection Pool
23. Database ORM
24. Development
25. EJB Server geronimo
26. EJB Server GlassFish
27. EJB Server JBoss 4.2.1
28. EJB Server resin 3.1.5
29. ERP CRM Financial
30. ESB
31. Forum
32. GIS
33. Graphic Library
34. Groupware
35. HTML Parser
36. IDE
37. IDE Eclipse
38. IDE Netbeans
39. Installer
40. Internationalization Localization
41. Inversion of Control
42. Issue Tracking
43. J2EE
44. JBoss
45. JMS
46. JMX
47. Library
48. Mail Clients
49. Net
50. Parser
51. PDF
52. Portal
53. Profiler
54. Project Management
55. Report
56. RSS RDF
57. Rule Engine
58. Science
59. Scripting
60. Search Engine
61. Security
62. Sevlet Container
63. Source Control
64. Swing Library
65. Template Engine
66. Test Coverage
67. Testing
68. UML
69. Web Crawler
70. Web Framework
71. Web Mail
72. Web Server
73. Web Services
74. Web Services apache cxf 2.0.1
75. Web Services AXIS2
76. Wiki Engine
77. Workflow Engines
78. XML
79. XML UI
Java
Java Tutorial
Java Open Source
Jar File Download
Java Articles
Java Products
Java by API
Photoshop Tutorials
Maya Tutorials
Flash Tutorials
3ds-Max Tutorials
Illustrator Tutorials
GIMP Tutorials
C# / C Sharp
C# / CSharp Tutorial
C# / CSharp Open Source
ASP.Net
ASP.NET Tutorial
JavaScript DHTML
JavaScript Tutorial
JavaScript Reference
HTML / CSS
HTML CSS Reference
C / ANSI-C
C Tutorial
C++
C++ Tutorial
Ruby
PHP
Python
Python Tutorial
Python Open Source
SQL Server / T-SQL
SQL Server / T-SQL Tutorial
Oracle PL / SQL
Oracle PL/SQL Tutorial
PostgreSQL
SQL / MySQL
MySQL Tutorial
VB.Net
VB.Net Tutorial
Flash / Flex / ActionScript
VBA / Excel / Access / Word
XML
XML Tutorial
Microsoft Office PowerPoint 2007 Tutorial
Microsoft Office Excel 2007 Tutorial
Microsoft Office Word 2007 Tutorial
Java Source Code / Java Documentation » GIS » GeoTools 2.4.1 » org.geotools.referencing.operation.transform 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


org.geotools.referencing.operation.transform.AbstractMathTransform
   org.geotools.referencing.operation.transform.LinearTransform1D

All known Subclasses:   org.geotools.referencing.operation.transform.ConstantTransform1D,  org.geotools.referencing.operation.transform.IdentityTransform1D,
LinearTransform1D
public class LinearTransform1D extends AbstractMathTransform implements MathTransform1D,LinearTransform,Serializable(Code)
A one dimensional, linear transform. Input values x are converted into output values y using the following equation:

y  =  + ×x

This class is the same as a 2×2 affine transform. However, this specialized LinearTransform1D class is faster. It is defined there because extensively used by org.geotools.coverage.grid.GridCoverage2D .
since:
   2.0
version:
   $Id: LinearTransform1D.java 25972 2007-06-21 13:38:35Z desruisseaux $
author:
   Martin Desruisseaux
See Also:   LogarithmicTransform1D
See Also:   ExponentialTransform1D


Field Summary
final public static  LinearTransform1DIDENTITY
     The identity transform.
final public  doubleoffset
     The value to add to input values.
final public  doublescale
     The value which is multiplied to input values.

Constructor Summary
protected  LinearTransform1D(double scale, double offset)
     Constructs a new linear transform.

Method Summary
public static  LinearTransform1Dcreate(double scale, double offset)
     Constructs a new linear transform.
public  Matrixderivative(DirectPosition point)
     Gets the derivative of this transform at a point.
public  doublederivative(double value)
     Gets the derivative of this function at a value.
public  booleanequals(Object object)
     Compares the specified object with this math transform for equality.
public  MatrixgetMatrix()
     Returns this transform as an affine transform matrix.
public  ParameterDescriptorGroupgetParameterDescriptors()
     Returns the parameter descriptors for this math transform.
public  ParameterValueGroupgetParameterValues()
     Returns the matrix elements as a group of parameters values.
public  intgetSourceDimensions()
     Gets the dimension of input points, which is 1.
public  intgetTargetDimensions()
     Gets the dimension of output points, which is 1.
public  inthashCode()
     Returns a hash value for this transform.
public  MathTransforminverse()
     Creates the inverse transform of this object.
public  booleanisIdentity()
     Tests whether this transform does not move any points.
public  booleanisIdentity(double tolerance)
     Tests whether this transform does not move any points by using the provided tolerance.
public  doubletransform(double value)
     Transforms the specified value.
public  voidtransform(float[] srcPts, int srcOff, float[] dstPts, int dstOff, int numPts)
     Transforms a list of coordinate point ordinal values.
public  voidtransform(double[] srcPts, int srcOff, double[] dstPts, int dstOff, int numPts)
     Transforms a list of coordinate point ordinal values.

Field Detail
IDENTITY
final public static LinearTransform1D IDENTITY(Code)
The identity transform.



offset
final public double offset(Code)
The value to add to input values.



scale
final public double scale(Code)
The value which is multiplied to input values.




Constructor Detail
LinearTransform1D
protected LinearTransform1D(double scale, double offset)(Code)
Constructs a new linear transform. This constructor is provided for subclasses only. Instances should be created using the , which may returns optimized implementations for some particular argument values.
Parameters:
  scale - The scale term in the linear equation.
Parameters:
  offset - The offset term in the linear equation.




Method Detail
create
public static LinearTransform1D create(double scale, double offset)(Code)
Constructs a new linear transform.
Parameters:
  scale - The scale term in the linear equation.
Parameters:
  offset - The offset term in the linear equation.



derivative
public Matrix derivative(DirectPosition point) throws TransformException(Code)
Gets the derivative of this transform at a point. This implementation is different from the default AbstractMathTransform.derivative implementation in that no coordinate point is required and Double.NaN may be a legal output value for some users.



derivative
public double derivative(double value)(Code)
Gets the derivative of this function at a value.



equals
public boolean equals(Object object)(Code)
Compares the specified object with this math transform for equality.



getMatrix
public Matrix getMatrix()(Code)
Returns this transform as an affine transform matrix.



getParameterDescriptors
public ParameterDescriptorGroup getParameterDescriptors()(Code)
Returns the parameter descriptors for this math transform.



getParameterValues
public ParameterValueGroup getParameterValues()(Code)
Returns the matrix elements as a group of parameters values. The number of parameters depends on the matrix size. Only matrix elements different from their default value will be included in this group. A copy of the parameter values for this math transform.



getSourceDimensions
public int getSourceDimensions()(Code)
Gets the dimension of input points, which is 1.



getTargetDimensions
public int getTargetDimensions()(Code)
Gets the dimension of output points, which is 1.



hashCode
public int hashCode()(Code)
Returns a hash value for this transform. This value need not remain consistent between different implementations of the same class.



inverse
public MathTransform inverse() throws NoninvertibleTransformException(Code)
Creates the inverse transform of this object.



isIdentity
public boolean isIdentity()(Code)
Tests whether this transform does not move any points.



isIdentity
public boolean isIdentity(double tolerance)(Code)
Tests whether this transform does not move any points by using the provided tolerance. This method work in the same way than org.geotools.referencing.operation.matrix.XMatrix.isIdentity(double) .
since:
   2.3.1



transform
public double transform(double value)(Code)
Transforms the specified value.



transform
public void transform(float[] srcPts, int srcOff, float[] dstPts, int dstOff, int numPts)(Code)
Transforms a list of coordinate point ordinal values.



transform
public void transform(double[] srcPts, int srcOff, double[] dstPts, int dstOff, int numPts)(Code)
Transforms a list of coordinate point ordinal values.



Methods inherited from org.geotools.referencing.operation.transform.AbstractMathTransform
MathTransform concatenate(MathTransform other, boolean applyOtherFirst)(Code)(Java Doc)
public Shape createTransformedShape(Shape shape) throws TransformException(Code)(Java Doc)
final Shape createTransformedShape(Shape shape, AffineTransform preTransform, AffineTransform postTransform, int orientation) throws TransformException(Code)(Java Doc)
public Matrix derivative(Point2D point) throws TransformException(Code)(Java Doc)
public Matrix derivative(DirectPosition point) throws TransformException(Code)(Java Doc)
protected static void ensureNonNull(String name, Object object) throws IllegalArgumentException(Code)(Java Doc)
public boolean equals(Object object)(Code)(Java Doc)
protected String formatWKT(Formatter formatter)(Code)(Java Doc)
public ParameterDescriptorGroup getParameterDescriptors()(Code)(Java Doc)
public ParameterValueGroup getParameterValues()(Code)(Java Doc)
abstract public int getSourceDimensions()(Code)(Java Doc)
abstract public int getTargetDimensions()(Code)(Java Doc)
public int hashCode()(Code)(Java Doc)
public MathTransform inverse() throws NoninvertibleTransformException(Code)(Java Doc)
static Matrix invert(Matrix matrix) throws NoninvertibleTransformException(Code)(Java Doc)
public boolean isIdentity()(Code)(Java Doc)
protected static boolean needCopy(int srcOff, int dimSource, int dstOff, int dimTarget, int numPts)(Code)(Java Doc)
protected static double rollLongitude(double x)(Code)(Java Doc)
static GeneralMatrix toGMatrix(Matrix matrix)(Code)(Java Doc)
static XMatrix toXMatrix(Matrix matrix)(Code)(Java Doc)
public Point2D transform(Point2D ptSrc, Point2D ptDst) throws TransformException(Code)(Java Doc)
public DirectPosition transform(DirectPosition ptSrc, DirectPosition ptDst) throws TransformException(Code)(Java Doc)
public void transform(float[] srcPts, int srcOff, float[] dstPts, int dstOff, int numPts) throws TransformException(Code)(Java Doc)

www.java2java.com | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.