Java Doc for Interpolator2D.java in  » GIS » GeoTools-2.4.1 » org » geotools » coverage » grid » 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.coverage.grid 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


org.geotools.coverage.grid.AbstractGridCoverage
   org.geotools.coverage.grid.GridCoverage2D
      org.geotools.coverage.grid.Interpolator2D

Interpolator2D
final public class Interpolator2D extends GridCoverage2D (Code)
A grid coverage using an for evaluating points. This interpolator is not used for (use the plain GridCoverage2D class for that). It should work for other kinds of interpolation however.
version:
   $Id: Interpolator2D.java 22710 2006-11-12 18:04:54Z desruisseaux $
author:
   Martin Desruisseaux
since:
   2.2




Method Summary
public static  GridCoverage2Dcreate(GridCoverage2D coverage)
     Constructs a new interpolator using default interpolations.
public static  GridCoverage2Dcreate(GridCoverage2D coverage, Interpolation interpolation)
     Constructs a new interpolator for a single interpolation.
public static  GridCoverage2Dcreate(GridCoverage2D coverage, Interpolation[] interpolations)
     Constructs a new interpolator for an interpolation and its fallbacks.
protected  GridCoverage2DcreateGeophysics(boolean geo)
     Invoked by Interpolator2D.geophysics(boolean) when the packed or geophysics companion of this grid coverage need to be created.
public  int[]evaluate(Point2D coord, int[] dest)
     Returns a sequence of integer values for a given two-dimensional point in the coverage.
Parameters:
  coord - The coordinate point where to evaluate.
Parameters:
  dest - An array in which to store values, or null .
public  float[]evaluate(Point2D coord, float[] dest)
     Returns a sequence of float values for a given two-dimensional point in the coverage.
Parameters:
  coord - The coordinate point where to evaluate.
Parameters:
  dest - An array in which to store values, or null .
public  double[]evaluate(Point2D coord, double[] dest)
     Returns a sequence of double values for a given two-dimensional point in the coverage.
Parameters:
  coord - The coordinate point where to evaluate.
Parameters:
  dest - An array in which to store values, or null .
public  InterpolationgetInterpolation()
     Returns the primary interpolation used by this Interpolator2D .
public  Interpolation[]getInterpolations()
     Returns interpolations.



Method Detail
create
public static GridCoverage2D create(GridCoverage2D coverage)(Code)
Constructs a new interpolator using default interpolations.
Parameters:
  coverage - The coverage to interpolate.



create
public static GridCoverage2D create(GridCoverage2D coverage, Interpolation interpolation)(Code)
Constructs a new interpolator for a single interpolation.
Parameters:
  coverage - The coverage to interpolate.
Parameters:
  interpolation - The interpolation to use.



create
public static GridCoverage2D create(GridCoverage2D coverage, Interpolation[] interpolations)(Code)
Constructs a new interpolator for an interpolation and its fallbacks. The fallbacks are used if the primary interpolation failed because of values in the interpolated point neighbor.
Parameters:
  coverage - The coverage to interpolate.
Parameters:
  interpolations - The interpolation to use and its fallback (if any).



createGeophysics
protected GridCoverage2D createGeophysics(boolean geo)(Code)
Invoked by Interpolator2D.geophysics(boolean) when the packed or geophysics companion of this grid coverage need to be created. This method apply to the new grid coverage the same interpolation than this grid coverage.
Parameters:
  geo - true to get a grid coverage with sample values equals togeophysics values, or false to get the packed version. The newly created grid coverage.



evaluate
public int[] evaluate(Point2D coord, int[] dest) throws CannotEvaluateException(Code)
Returns a sequence of integer values for a given two-dimensional point in the coverage.
Parameters:
  coord - The coordinate point where to evaluate.
Parameters:
  dest - An array in which to store values, or null . An array containing values.
throws:
  CannotEvaluateException - if the values can't be computed at the specified coordinate.More specifically, PointOutsideCoverageException is thrown if the evaluationfailed because the input point has invalid coordinates.



evaluate
public float[] evaluate(Point2D coord, float[] dest) throws CannotEvaluateException(Code)
Returns a sequence of float values for a given two-dimensional point in the coverage.
Parameters:
  coord - The coordinate point where to evaluate.
Parameters:
  dest - An array in which to store values, or null . An array containing values.
throws:
  CannotEvaluateException - if the values can't be computed at the specified coordinate.More specifically, PointOutsideCoverageException is thrown if the evaluationfailed because the input point has invalid coordinates.



evaluate
public double[] evaluate(Point2D coord, double[] dest) throws CannotEvaluateException(Code)
Returns a sequence of double values for a given two-dimensional point in the coverage.
Parameters:
  coord - The coordinate point where to evaluate.
Parameters:
  dest - An array in which to store values, or null . An array containing values.
throws:
  CannotEvaluateException - if the values can't be computed at the specified coordinate.More specifically, PointOutsideCoverageException is thrown if the evaluationfailed because the input point has invalid coordinates.



getInterpolation
public Interpolation getInterpolation()(Code)
Returns the primary interpolation used by this Interpolator2D .



getInterpolations
public Interpolation[] getInterpolations()(Code)
Returns interpolations. The first array's element is the interpolation for this grid coverage. Other elements (if any) are fallbacks.



Fields inherited from org.geotools.coverage.grid.GridCoverage2D
final protected GridGeometry2D gridGeometry(Code)(Java Doc)
final protected transient PlanarImage image(Code)(Java Doc)
transient String tileEncoding(Code)(Java Doc)

Methods inherited from org.geotools.coverage.grid.GridCoverage2D
protected GridCoverage2D createGeophysics(boolean geo)(Code)(Java Doc)
public synchronized boolean dispose(boolean force)(Code)(Java Doc)
public Object evaluate(DirectPosition point) throws CannotEvaluateException(Code)(Java Doc)
public byte[] evaluate(DirectPosition coord, byte[] dest) throws CannotEvaluateException(Code)(Java Doc)
public int[] evaluate(DirectPosition coord, int[] dest) throws CannotEvaluateException(Code)(Java Doc)
public float[] evaluate(DirectPosition coord, float[] dest) throws CannotEvaluateException(Code)(Java Doc)
public double[] evaluate(DirectPosition coord, double[] dest) throws CannotEvaluateException(Code)(Java Doc)
public int[] evaluate(Point2D coord, int[] dest) throws CannotEvaluateException(Code)(Java Doc)
public float[] evaluate(Point2D coord, float[] dest) throws CannotEvaluateException(Code)(Java Doc)
public double[] evaluate(Point2D coord, double[] dest) throws CannotEvaluateException(Code)(Java Doc)
public GridCoverage2D geophysics(boolean geo)(Code)(Java Doc)
public CoordinateReferenceSystem getCoordinateReferenceSystem2D()(Code)(Java Doc)
public synchronized String getDebugString(DirectPosition coord)(Code)(Java Doc)
public Envelope getEnvelope()(Code)(Java Doc)
public Envelope2D getEnvelope2D()(Code)(Java Doc)
public GridGeometry getGridGeometry()(Code)(Java Doc)
public Interpolation getInterpolation()(Code)(Java Doc)
public int getNumSampleDimensions()(Code)(Java Doc)
public int[] getOptimalDataBlockSizes()(Code)(Java Doc)
public RenderableImage getRenderableImage(int xAxis, int yAxis)(Code)(Java Doc)
public RenderedImage getRenderedImage()(Code)(Java Doc)
public SampleDimension getSampleDimension(int index)(Code)(Java Doc)
public GridSampleDimension[] getSampleDimensions()(Code)(Java Doc)
public boolean isDataEditable()(Code)(Java Doc)
public void prefetch(Rectangle2D area)(Code)(Java Doc)
public void show(String title, int xAxis, int yAxis)(Code)(Java Doc)
public void show(String title)(Code)(Java Doc)

Fields inherited from org.geotools.coverage.grid.AbstractGridCoverage
final public static Logger LOGGER(Code)(Java Doc)

Methods inherited from org.geotools.coverage.grid.AbstractGridCoverage
public boolean[] getDataBlock(GridRange range, boolean[] destination) throws InvalidRangeException, ArrayIndexOutOfBoundsException(Code)(Java Doc)
public byte[] getDataBlock(GridRange range, byte[] destination) throws InvalidRangeException, ArrayIndexOutOfBoundsException(Code)(Java Doc)
public short[] getDataBlock(GridRange range, short[] destination) throws InvalidRangeException, ArrayIndexOutOfBoundsException(Code)(Java Doc)
public int[] getDataBlock(GridRange range, int[] destination) throws InvalidRangeException, ArrayIndexOutOfBoundsException(Code)(Java Doc)
public float[] getDataBlock(GridRange range, float[] destination) throws InvalidRangeException, ArrayIndexOutOfBoundsException(Code)(Java Doc)
public double[] getDataBlock(GridRange range, double[] destination) throws InvalidRangeException, ArrayIndexOutOfBoundsException(Code)(Java Doc)
public GridPacking getGridPacking()(Code)(Java Doc)
public int getNumOverviews()(Code)(Java Doc)
public GridCoverage getOverview(int index) throws IndexOutOfBoundsException(Code)(Java Doc)
public GridGeometry getOverviewGridGeometry(int index) throws IndexOutOfBoundsException(Code)(Java Doc)
public byte[] getPackedDataBlock(GridRange range) throws InvalidRangeException(Code)(Java Doc)
public List getSources()(Code)(Java Doc)
public boolean isDataEditable()(Code)(Java Doc)
protected String pointOutsideCoverage(Point2D point)(Code)(Java Doc)
protected String pointOutsideCoverage(DirectPosition point)(Code)(Java Doc)
public void setDataBlock(GridRange gridRange, boolean[] values) throws InvalidRangeException, GridNotEditableException, ArrayIndexOutOfBoundsException(Code)(Java Doc)
public void setDataBlock(GridRange gridRange, byte[] values) throws InvalidRangeException, GridNotEditableException, ArrayIndexOutOfBoundsException(Code)(Java Doc)
public void setDataBlock(GridRange gridRange, short[] values) throws InvalidRangeException, GridNotEditableException, ArrayIndexOutOfBoundsException(Code)(Java Doc)
public void setDataBlock(GridRange gridRange, int[] values) throws InvalidRangeException, GridNotEditableException, ArrayIndexOutOfBoundsException(Code)(Java Doc)
public void setDataBlock(GridRange gridRange, float[] values) throws InvalidRangeException, GridNotEditableException, ArrayIndexOutOfBoundsException(Code)(Java Doc)
public void setDataBlock(GridRange gridRange, double[] values) throws InvalidRangeException, GridNotEditableException, ArrayIndexOutOfBoundsException(Code)(Java Doc)
public void setPackedDataBlock(GridRange gridRange, byte[] values) throws InvalidRangeException, GridNotEditableException, ArrayIndexOutOfBoundsException(Code)(Java Doc)
static String toString(Point2D point, Locale locale)(Code)(Java Doc)
static String toString(DirectPosition point, Locale locale)(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.