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


org.geotools.metadata.iso.extent.GeographicExtentImpl
   org.geotools.metadata.iso.extent.GeographicBoundingBoxImpl

GeographicBoundingBoxImpl
public class GeographicBoundingBoxImpl extends GeographicExtentImpl implements GeographicBoundingBox(Code)
Geographic position of the dataset. This is only an approximate so specifying the co-ordinate reference system is unnecessary.
since:
   2.1
version:
   $Id: GeographicBoundingBoxImpl.java 29091 2008-02-05 19:27:31Z desruisseaux $
author:
   Martin Desruisseaux
author:
   Touraïvane


Field Summary
final public static  GeographicBoundingBoxWORLD
     A bounding box ranging from 180°W to 180°E and 90°S to 90°N.

Constructor Summary
public  GeographicBoundingBoxImpl()
     Constructs an initially empty geographic bounding box.
public  GeographicBoundingBoxImpl(GeographicBoundingBox box)
     Constructs a geographic bounding box initialized to the same values than the specified one.

Caution: Arguments are expected in the same order than they appear in the ISO 19115 specification.

public  GeographicBoundingBoxImpl(Envelope envelope)
     Constructs a geographic bounding box from the specified envelope.
public  GeographicBoundingBoxImpl(Rectangle2D bounds)
     Constructs a geographic bounding box from the specified rectangle.
public  GeographicBoundingBoxImpl(double westBoundLongitude, double eastBoundLongitude, double southBoundLatitude, double northBoundLatitude)
     Creates a geographic bounding box initialized to the specified values.

Method Summary
public synchronized  voidadd(GeographicBoundingBox box)
     Adds a geographic bounding box to this box.
public synchronized  booleanequals(Object object)
     Compares this geographic bounding box with the specified object for equality.
public  doublegetEastBoundLongitude()
     Returns the eastern-most coordinate of the limit of the dataset extent.
public  doublegetNorthBoundLatitude()
     Returns the northern-most, coordinate of the limit of the dataset extent.
public  doublegetSouthBoundLatitude()
     Returns the southern-most coordinate of the limit of the dataset extent.
public  doublegetWestBoundLongitude()
     Returns the western-most coordinate of the limit of the dataset extent.
public synchronized  inthashCode()
     Returns a hash code value for this extent.
public synchronized  voidsetEastBoundLongitude(double newValue)
     Set the eastern-most coordinate of the limit of the dataset extent.
public synchronized  voidsetNorthBoundLatitude(double newValue)
     Set the northern-most, coordinate of the limit of the dataset extent.
public synchronized  voidsetSouthBoundLatitude(double newValue)
     Set the southern-most coordinate of the limit of the dataset extent.
public synchronized  voidsetWestBoundLongitude(double newValue)
     Set the western-most coordinate of the limit of the dataset extent.
public  StringtoString()
     Returns a string representation of this extent using a default angle pattern.
public static  StringtoString(GeographicBoundingBox box, String pattern, Locale locale)
     Returns a string representation of the specified extent using the specified angle pattern and locale.

Field Detail
WORLD
final public static GeographicBoundingBox WORLD(Code)
A bounding box ranging from 180°W to 180°E and 90°S to 90°N.
since:
   2.2




Constructor Detail
GeographicBoundingBoxImpl
public GeographicBoundingBoxImpl()(Code)
Constructs an initially empty geographic bounding box.



GeographicBoundingBoxImpl
public GeographicBoundingBoxImpl(GeographicBoundingBox box)(Code)
Constructs a geographic bounding box initialized to the same values than the specified one.

Caution: Arguments are expected in the same order than they appear in the ISO 19115 specification. This is different than the order commonly found in Java world, which is rather (xmin, ymin, xmax, ymax).
since:
   2.2




GeographicBoundingBoxImpl
public GeographicBoundingBoxImpl(Envelope envelope) throws TransformException(Code)
Constructs a geographic bounding box from the specified envelope. If the envelope contains a CRS, then the bounding box will be projected to the CRS. Otherwise, the envelope is assumed already in WGS 84 CRS.

Note: This method is available only if the referencing module is on the classpath.
Parameters:
  envelope - The envelope to use for initializing this geographic bounding box.
throws:
  UnsupportedOperationException - if the referencing module is not on the classpath.
throws:
  TransformException - if the envelope can't be transformed.
since:
   2.2




GeographicBoundingBoxImpl
public GeographicBoundingBoxImpl(Rectangle2D bounds)(Code)
Constructs a geographic bounding box from the specified rectangle. The rectangle is assumed in CRS.



GeographicBoundingBoxImpl
public GeographicBoundingBoxImpl(double westBoundLongitude, double eastBoundLongitude, double southBoundLatitude, double northBoundLatitude)(Code)
Creates a geographic bounding box initialized to the specified values.




Method Detail
add
public synchronized void add(GeographicBoundingBox box)(Code)
Adds a geographic bounding box to this box. If the status is the same for this box and the box to be added, then the resulting bounding box is the union of the two boxes. If the status are opposite (exclusion), then this method attempt to exclude the some area of specified box from this box. The resulting bounding box is smaller if the exclusion can be performed without ambiguity.
since:
   2.2



equals
public synchronized boolean equals(Object object)(Code)
Compares this geographic bounding box with the specified object for equality.



getEastBoundLongitude
public double getEastBoundLongitude()(Code)
Returns the eastern-most coordinate of the limit of the dataset extent. The value is expressed in longitude in decimal degrees (positive east). The eastern-most longitude between -180 and +180°.



getNorthBoundLatitude
public double getNorthBoundLatitude()(Code)
Returns the northern-most, coordinate of the limit of the dataset extent. The value is expressed in latitude in decimal degrees (positive north). The northern-most latitude between -90 and +90°.



getSouthBoundLatitude
public double getSouthBoundLatitude()(Code)
Returns the southern-most coordinate of the limit of the dataset extent. The value is expressed in latitude in decimal degrees (positive north). The southern-most latitude between -90 and +90°.



getWestBoundLongitude
public double getWestBoundLongitude()(Code)
Returns the western-most coordinate of the limit of the dataset extent. The value is expressed in longitude in decimal degrees (positive east). The western-most longitude between -180 and +180°.



hashCode
public synchronized int hashCode()(Code)
Returns a hash code value for this extent.



setEastBoundLongitude
public synchronized void setEastBoundLongitude(double newValue)(Code)
Set the eastern-most coordinate of the limit of the dataset extent. The value is expressed in longitude in decimal degrees (positive east).



setNorthBoundLatitude
public synchronized void setNorthBoundLatitude(double newValue)(Code)
Set the northern-most, coordinate of the limit of the dataset extent. The value is expressed in latitude in decimal degrees (positive north).



setSouthBoundLatitude
public synchronized void setSouthBoundLatitude(double newValue)(Code)
Set the southern-most coordinate of the limit of the dataset extent. The value is expressed in latitude in decimal degrees (positive north).



setWestBoundLongitude
public synchronized void setWestBoundLongitude(double newValue)(Code)
Set the western-most coordinate of the limit of the dataset extent. The value is expressed in longitude in decimal degrees (positive east).



toString
public String toString()(Code)
Returns a string representation of this extent using a default angle pattern.



toString
public static String toString(GeographicBoundingBox box, String pattern, Locale locale)(Code)
Returns a string representation of the specified extent using the specified angle pattern and locale. See AngleFormat for a description of angle patterns.
Parameters:
  box - The bounding box to format.
Parameters:
  pattern - The angle pattern (e.g. DD°MM'SS.s" .
Parameters:
  locale - The locale, or null for the default one.
since:
   2.2



Methods inherited from org.geotools.metadata.iso.extent.GeographicExtentImpl
public Boolean getInclusion()(Code)(Java Doc)
public synchronized void setInclusion(Boolean newValue)(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.