Java Doc for EarthGravitationalModel.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.VerticalTransform
      org.geotools.referencing.operation.transform.EarthGravitationalModel

EarthGravitationalModel
final public class EarthGravitationalModel extends VerticalTransform (Code)
Transforms vertical coordinates using coefficients from the Earth Gravitational Model.

Aknowledgement
This class is an adaption of Fortran code clenqt.for from the National Geospatial-Intelligence Agency and available in public domain. The normalized geopotential coefficients file bundled in this module is an adaptation of egm180.nor file, with some spaces trimmed.
since:
   2.3
version:
   $Id: EarthGravitationalModel.java 24384 2007-02-14 00:23:05Z desruisseaux $
author:
   Pierre Cardinal
author:
   Martin Desruisseaux


Inner Class :public static class Provider extends MathTransformProvider

Field Summary
final static  intDEFAULT_ORDER
     The default value for EarthGravitationalModel.nmax .

Constructor Summary
 EarthGravitationalModel()
     Creates a model with the default maximum degree and order.
 EarthGravitationalModel(int nmax, boolean wgs84)
     Creates a model with the specified maximum degree and order.

Method Summary
public  ParameterDescriptorGroupgetParameterDescriptors()
     Returns the parameter descriptors for this math transform.
public  ParameterValueGroupgetParameterValues()
     Returns the parameters for this math transform.
public  doubleheightOffset(double longitude, double latitude, double height)
    
protected  voidload(String filename)
     Loads the coefficients from the specified ASCII file and initialize the internal clenshaw arrays.

Note: ASCII may looks like an unefficient format for binary distribution. A binary file with coefficient values read by java.io.DataInput.readDouble would be more compact than an uncompressed ASCII file.


Field Detail
DEFAULT_ORDER
final static int DEFAULT_ORDER(Code)
The default value for EarthGravitationalModel.nmax .




Constructor Detail
EarthGravitationalModel
EarthGravitationalModel()(Code)
Creates a model with the default maximum degree and order.



EarthGravitationalModel
EarthGravitationalModel(int nmax, boolean wgs84)(Code)
Creates a model with the specified maximum degree and order.




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



getParameterValues
public ParameterValueGroup getParameterValues()(Code)
Returns the parameters for this math transform.



heightOffset
public double heightOffset(double longitude, double latitude, double height) throws TransformException(Code)



load
protected void load(String filename) throws IOException(Code)
Loads the coefficients from the specified ASCII file and initialize the internal clenshaw arrays.

Note: ASCII may looks like an unefficient format for binary distribution. A binary file with coefficient values read by java.io.DataInput.readDouble would be more compact than an uncompressed ASCII file. However, binary files are hard to compress by the ZIP algorithm. Our experience show that a 675 kb uncompressed ASCII file is only 222 kb after ZIP or JAR compression. The same data as a binary file is 257 kb uncompressed and 248 kb compressed. So surprisingly, the ASCII file is more compact than the binary file after compression. Since it is the primary format provided by the Earth-Info web site, we use it directly in order to avoid a multiplication of formats.
Parameters:
  filename - The filename (e.g. "WGS84.cof" , relative to this class directory.
throws:
  IOException - if the file can't be read or has an invalid content.




Methods inherited from org.geotools.referencing.operation.transform.VerticalTransform
final public int getSourceDimensions()(Code)(Java Doc)
final public int getTargetDimensions()(Code)(Java Doc)
abstract protected double heightOffset(double longitude, double latitude, double height) throws TransformException(Code)(Java Doc)
public void transform(float[] srcPts, int srcOff, float[] dstPts, int dstOff, int numPts) throws TransformException(Code)(Java Doc)
public void transform(double[] srcPts, int srcOff, double[] dstPts, int dstOff, int numPts) throws TransformException(Code)(Java Doc)

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.