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


java.lang.Object
   org.geotools.image.io.metadata.MetadataAccessor
      org.geotools.image.io.metadata.ImageGeometry

ImageGeometry
public class ImageGeometry extends MetadataAccessor (Code)
A element in . This class offers similar service than GridRange and Envelope , except that the maximum value for and are inclusives.

The child element is typically (but not always) initialized to the following ranges:

    • [0 .. - 1]
      [0 .. - 1]
  • However n-dimensional grid coverages may contains additional entries.
    since:
       2.4
    version:
       $Id: ImageGeometry.java 26151 2007-07-04 18:54:48Z desruisseaux $
    author:
       Martin Desruisseaux




    Constructor Summary
    protected  ImageGeometry(GeographicMetadata metadata)
         Creates a parser for a grid geometry.

    Method Summary
    public  voidaddCoordinateRange(int minIndex, int maxIndex, double minValue, double maxValue)
         Adds the range of values for an envelope along a dimension.
    public  voidaddCoordinateValues(int minIndex, double[] values)
         Adds coordinate values for an envelope along a dimension.
    public  NumberRangegetCoordinateRange(int dimension)
         Returns the range of coordinate values along the specified dimension.
    public  double[]getCoordinateValues(int dimension)
         Returns the coordinate values along the specified dimension, or null if none.
    public  intgetDimension()
         Returns the number of dimensions.
    public  NumberRangegetGridRange(int dimension)
         Returns the range of grid index along the specified dimension.
    public  StringgetPixelOrientation()
         Returns the point in a pixel corresponding to the Earth location of the pixel.
    public  voidsetCoordinateRange(int dimension, double minimum, double maximum)
         Set the envelope range along the specified dimension.
    public  voidsetCoordinateValues(int dimension, double[] values)
         Set the envelope coordinate values along the specified dimension.
    public  voidsetGridRange(int dimension, int minimum, int maximum)
         Set the grid range along the specified dimension.
    public  voidsetPixelOrientation(String pixelOrientation)
         Set the pixel orientation to the specified value.


    Constructor Detail
    ImageGeometry
    protected ImageGeometry(GeographicMetadata metadata)(Code)
    Creates a parser for a grid geometry. This constructor should not be invoked directly; use GeographicMetadata.getGeometry instead.
    Parameters:
      metadata - The metadata node.




    Method Detail
    addCoordinateRange
    public void addCoordinateRange(int minIndex, int maxIndex, double minValue, double maxValue)(Code)
    Adds the range of values for an envelope along a dimension. Invoking this method will increase the grid and envelope by one. The ranges should be added in the same order than .
    Parameters:
      minIndex - The minimal index value, inclusive. This is usually 0.
    Parameters:
      maxIndex - The maximal index value, inclusive.
    Parameters:
      minValue - The minimal coordinate value, inclusive.
    Parameters:
      maxValue - The maximal coordinate value, inclusive.
    See Also:   ImageGeometry.addCoordinateValues



    addCoordinateValues
    public void addCoordinateValues(int minIndex, double[] values)(Code)
    Adds coordinate values for an envelope along a dimension. Invoking this method will increase the envelope by one. This method may be invoked in replacement of ImageGeometry.addCoordinateRange when every cell coordinates need to be specified explicitly.
    Parameters:
      minIndex - The minimal index value, inclusive. This is usually 0.
    Parameters:
      values - The coordinate values.
    See Also:   ImageGeometry.addCoordinateRange



    getCoordinateRange
    public NumberRange getCoordinateRange(int dimension)(Code)
    Returns the range of coordinate values along the specified dimension. Note that range , or both may be null if no "minimum" or "maximum" attribute were found for the "GridGeometry/Envelope/CoordinateValues" element.
    Parameters:
      dimension - The dimension index, from 0 inclusive to ImageGeometry.getDimension exclusive.



    getCoordinateValues
    public double[] getCoordinateValues(int dimension)(Code)
    Returns the coordinate values along the specified dimension, or null if none. This method returns a non-null values only if an array of was explicitly specified, for example by a call to ImageGeometry.setCoordinateValues .
    Parameters:
      dimension - The dimension index, from 0 inclusive to ImageGeometry.getDimension exclusive.



    getDimension
    public int getDimension()(Code)
    Returns the number of dimensions. If the and don't have the same dimension, then a warning is logged and the smallest dimension is returned.



    getGridRange
    public NumberRange getGridRange(int dimension)(Code)
    Returns the range of grid index along the specified dimension. Note that range , or both may be null if no "minimum" or "maximum" attribute were found for the "GridGeometry/GridRange/IndexRange" element.
    Parameters:
      dimension - The dimension index, from 0 inclusive to ImageGeometry.getDimension exclusive.



    getPixelOrientation
    public String getPixelOrientation()(Code)
    Returns the point in a pixel corresponding to the Earth location of the pixel. In the JAI framework, this is typically the corner. In some OGC specifications, this is often the pixel .
    Parameters:
      pixelOrientation - The pixel orientation (usually "center" , "lower left" , "lower right" , "upper right" or "upper left" ), or null if unknown.
    See Also:   PixelOrientation



    setCoordinateRange
    public void setCoordinateRange(int dimension, double minimum, double maximum)(Code)
    Set the envelope range along the specified dimension.
    Parameters:
      dimension - The dimension to set, from 0 inclusive to ImageGeometry.getDimension exclusive.
    Parameters:
      minimum - The minimum value along the specified dimension (inclusive).
    Parameters:
      maximum - The maximum value along the specified dimension (inclusive).



    setCoordinateValues
    public void setCoordinateValues(int dimension, double[] values)(Code)
    Set the envelope coordinate values along the specified dimension. The minimum and maximum coordinates will be determined from the specified array.
    Parameters:
      dimension - The dimension to set, from 0 inclusive to ImageGeometry.getDimension exclusive.
    Parameters:
      values - The coordinate values.



    setGridRange
    public void setGridRange(int dimension, int minimum, int maximum)(Code)
    Set the grid range along the specified dimension.
    Parameters:
      dimension - The dimension to set, from 0 inclusive to ImageGeometry.getDimension exclusive.
    Parameters:
      minimum - The minimum value along the specified dimension (inclusive).
    Parameters:
      maximum - The maximum value along the specified dimension (inclusive).



    setPixelOrientation
    public void setPixelOrientation(String pixelOrientation)(Code)
    Set the pixel orientation to the specified value. The pixel orientation gives the point in a pixel corresponding to the Earth location of the pixel. In the JAI framework, this is typically the corner. In some OGC specifications, this is often the pixel .
    Parameters:
      pixelOrientation - The pixel orientation (usually "center" , "lower left" , "lower right" , "upper right" or "upper left" ), or null if unknown.
    See Also:   PixelOrientation



    Methods inherited from org.geotools.image.io.metadata.MetadataAccessor
    protected int appendChild()(Code)(Java Doc)
    protected int childCount()(Code)(Java Doc)
    protected Date getDate(String attribute)(Code)(Java Doc)
    protected Double getDouble(String attribute)(Code)(Java Doc)
    protected double[] getDoubles(String attribute, boolean unique)(Code)(Java Doc)
    protected Integer getInteger(String attribute)(Code)(Java Doc)
    protected int[] getIntegers(String attribute, boolean unique)(Code)(Java Doc)
    protected String getString(String attribute)(Code)(Java Doc)
    protected Object getUserObject()(Code)(Java Doc)
    protected Object getUserObject(Class type) throws ClassCastException(Code)(Java Doc)
    protected void selectChild(int index) throws IndexOutOfBoundsException(Code)(Java Doc)
    protected void selectParent() throws NoSuchElementException(Code)(Java Doc)
    protected void setDate(String attribute, Date value)(Code)(Java Doc)
    protected void setDouble(String attribute, double value)(Code)(Java Doc)
    protected void setDoubles(String attribute, double[] values)(Code)(Java Doc)
    final void setEnum(String attribute, String value, Collection enums)(Code)(Java Doc)
    protected void setInteger(String attribute, int value)(Code)(Java Doc)
    protected void setIntegers(String attribute, int[] values)(Code)(Java Doc)
    protected void setString(String attribute, String value)(Code)(Java Doc)
    protected void setUserObject(Object value) throws UnsupportedImplementationException(Code)(Java Doc)
    protected boolean setWarningsEnabled(boolean enabled)(Code)(Java Doc)
    public String toString()(Code)(Java Doc)
    public static String trimFractionalPart(String value)(Code)(Java Doc)
    final void warning(String method, int key, Object value)(Code)(Java Doc)
    protected void warningOccurred(LogRecord record)(Code)(Java Doc)

    Methods inherited from java.lang.Object
    native protected Object clone() throws CloneNotSupportedException(Code)(Java Doc)
    public boolean equals(Object obj)(Code)(Java Doc)
    protected void finalize() throws Throwable(Code)(Java Doc)
    final native public Class getClass()(Code)(Java Doc)
    native public int hashCode()(Code)(Java Doc)
    final native public void notify()(Code)(Java Doc)
    final native public void notifyAll()(Code)(Java Doc)
    public String toString()(Code)(Java Doc)
    final native public void wait(long timeout) throws InterruptedException(Code)(Java Doc)
    final public void wait(long timeout, int nanos) throws InterruptedException(Code)(Java Doc)
    final public void wait() throws InterruptedException(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.