Java Doc for ConcatenatedTransform.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.ConcatenatedTransform

All known Subclasses:   org.geotools.referencing.operation.transform.ConcatenatedTransformDirect,  org.geotools.referencing.operation.transform.ConcatenatedTransform1D,  org.geotools.referencing.operation.transform.ConcatenatedTransform2D,
ConcatenatedTransform
public class ConcatenatedTransform extends AbstractMathTransform implements Serializable(Code)
Base class for concatenated transform. Concatenated transforms are serializable if all their step transforms are serializables.
since:
   2.0
version:
   $Id: ConcatenatedTransform.java 24925 2007-03-27 20:12:08Z jgarnett $
author:
   Martin Desruisseaux


Field Summary
final public  MathTransformtransform1
     The first math transform.
final public  MathTransformtransform2
     The second math transform.

Constructor Summary
protected  ConcatenatedTransform(MathTransform transform1, MathTransform transform2)
     Constructs a concatenated transform.

Method Summary
public static  MathTransformcreate(MathTransform tr1, MathTransform tr2)
     Constructs a concatenated transform.
static  ConcatenatedTransformcreateConcatenatedTransform(MathTransform tr1, MathTransform tr2)
     Continue the construction started by ConcatenatedTransform.create .
public  Matrixderivative(Point2D point)
     Gets the derivative of this transform at a point.
public  Matrixderivative(DirectPosition point)
     Gets the derivative of this transform at a point.
Parameters:
  point - The coordinate point where to evaluate the derivative.
final public  booleanequals(Object object)
     Compares the specified object with this math transform for equality.
protected  StringformatWKT(Formatter formatter)
     Format the inner part of a Well Known Text (WKT) element.
Parameters:
  formatter - The formatter to use.
final public  intgetSourceDimensions()
     Gets the dimension of input points.
final public  intgetTargetDimensions()
     Gets the dimension of output points.
final public  inthashCode()
     Returns a hash value for this transform.
final public synchronized  MathTransforminverse()
     Creates the inverse transform of this object.
final public  booleanisIdentity()
     Tests whether this transform does not move any points. Default implementation check if the two transforms are identity.
 booleanisValid()
     Check if transforms are compatibles.
public  DirectPositiontransform(DirectPosition ptSrc, DirectPosition ptDst)
     Transforms the specified ptSrc and stores the result in ptDst .
public  voidtransform(double[] srcPts, int srcOff, double[] dstPts, int dstOff, int numPts)
     Transforms a list of coordinate point ordinal values.
public  voidtransform(float[] srcPts, int srcOff, float[] dstPts, int dstOff, int numPts)
     Transforms a list of coordinate point ordinal values.

Field Detail
transform1
final public MathTransform transform1(Code)
The first math transform.



transform2
final public MathTransform transform2(Code)
The second math transform.




Constructor Detail
ConcatenatedTransform
protected ConcatenatedTransform(MathTransform transform1, MathTransform transform2)(Code)
Constructs a concatenated transform. This constructor is for subclasses only. To create a concatenated transform, use the factory method ConcatenatedTransform.create instead.
Parameters:
  transform1 - The first math transform.
Parameters:
  transform2 - The second math transform.




Method Detail
create
public static MathTransform create(MathTransform tr1, MathTransform tr2)(Code)
Constructs a concatenated transform. This factory method checks for step transforms dimension. The returned transform will implements MathTransform2D if source and target dimensions are equal to 2. Likewise, it will implements MathTransform1D if source and target dimensions are equal to 1. MathTransform implementations are available in two version: direct and non-direct. The "non-direct" version use an intermediate buffer when performing transformations; they are slower and consume more memory. They are used only as a fallback when a "direct" version can't be created.
Parameters:
  tr1 - The first math transform.
Parameters:
  tr2 - The second math transform. The concatenated transform.



createConcatenatedTransform
static ConcatenatedTransform createConcatenatedTransform(MathTransform tr1, MathTransform tr2)(Code)
Continue the construction started by ConcatenatedTransform.create . The construction step is available separatly for testing purpose (in a JUnit test), and for ConcatenatedTransform.inverse() implementation.



derivative
public Matrix derivative(Point2D point) throws TransformException(Code)
Gets the derivative of this transform at a point. This method delegates to the ConcatenatedTransform.derivative(DirectPosition) method because the transformation steps ConcatenatedTransform.transform1 and ConcatenatedTransform.transform2 may not be instances of MathTransform2D .
Parameters:
  point - The coordinate point where to evaluate the derivative. The derivative at the specified point as a 2×2 matrix.
throws:
  TransformException - if the derivative can't be evaluated at the specified point.



derivative
public Matrix derivative(DirectPosition point) throws TransformException(Code)
Gets the derivative of this transform at a point.
Parameters:
  point - The coordinate point where to evaluate the derivative. The derivative at the specified point (never null ).
throws:
  TransformException - if the derivative can't be evaluated at the specified point.



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



formatWKT
protected String formatWKT(Formatter formatter)(Code)
Format the inner part of a Well Known Text (WKT) element.
Parameters:
  formatter - The formatter to use. The WKT element name.



getSourceDimensions
final public int getSourceDimensions()(Code)
Gets the dimension of input points.



getTargetDimensions
final public int getTargetDimensions()(Code)
Gets the dimension of output points.



hashCode
final public int hashCode()(Code)
Returns a hash value for this transform.



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



isIdentity
final public boolean isIdentity()(Code)
Tests whether this transform does not move any points. Default implementation check if the two transforms are identity.



isValid
boolean isValid()(Code)
Check if transforms are compatibles. The default implementation check if transfert dimension match.



transform
public DirectPosition transform(DirectPosition ptSrc, DirectPosition ptDst) throws TransformException(Code)
Transforms the specified ptSrc and stores the result in ptDst .



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



transform
public void transform(float[] srcPts, int srcOff, float[] dstPts, int dstOff, int numPts) throws TransformException(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.