Source Code Cross Referenced for GeocentricCRS.java in  » GIS » deegree » org » deegree » crs » coordinatesystems » 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 » deegree » org.deegree.crs.coordinatesystems 
Source Cross Referenced  Class Diagram Java Document (Java Doc) 


001:        //$HeadURL: $
002:        /*----------------    FILE HEADER  ------------------------------------------
003:         This file is part of deegree.
004:         Copyright (C) 2001-2008 by:
005:         Department of Geography, University of Bonn
006:         http://www.giub.uni-bonn.de/deegree/
007:         lat/lon GmbH
008:         http://www.lat-lon.de
009:
010:         This library is free software; you can redistribute it and/or
011:         modify it under the terms of the GNU Lesser General Public
012:         License as published by the Free Software Foundation; either
013:         version 2.1 of the License, or (at your option) any later version.
014:         This library is distributed in the hope that it will be useful,
015:         but WITHOUT ANY WARRANTY; without even the implied warranty of
016:         MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
017:         Lesser General Public License for more details.
018:         You should have received a copy of the GNU Lesser General Public
019:         License along with this library; if not, write to the Free Software
020:         Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
021:         Contact:
022:
023:         Andreas Poth
024:         lat/lon GmbH
025:         Aennchenstr. 19
026:         53177 Bonn
027:         Germany
028:         E-Mail: poth@lat-lon.de
029:
030:         Prof. Dr. Klaus Greve
031:         Department of Geography
032:         University of Bonn
033:         Meckenheimer Allee 166
034:         53115 Bonn
035:         Germany
036:         E-Mail: greve@giub.uni-bonn.de
037:         ---------------------------------------------------------------------------*/
038:
039:        package org.deegree.crs.coordinatesystems;
040:
041:        import org.deegree.crs.Identifiable;
042:        import org.deegree.crs.components.Axis;
043:        import org.deegree.crs.components.GeodeticDatum;
044:
045:        /**
046:         * A <code>GeocentricCRS</code> is a coordinatesystem having three axis and a mass point defined to be equivalent to
047:         * earths center.
048:         * 
049:         * @author <a href="mailto:bezema@lat-lon.de">Rutger Bezema</a>
050:         * 
051:         * @author last edited by: $Author:$
052:         * 
053:         * @version $Revision:$, $Date:$
054:         * 
055:         */
056:
057:        public class GeocentricCRS extends CoordinateSystem {
058:
059:            /**
060:             * The default geocentric coordinate system. Geocentric datum is WGS84 and linear units are metre. The <var>X</var>
061:             * axis points towards the prime meridian (e.g. front). The <var>Y</var> axis points East. The <var>Z</var> axis
062:             * points North.
063:             */
064:            public static final GeocentricCRS WGS84 = new GeocentricCRS(
065:                    GeodeticDatum.WGS84, "GC_WGS84", "Geocentric WGS84");
066:
067:            /**
068:             * @param datum
069:             * @param axisOrder
070:             * @param identity
071:             */
072:            public GeocentricCRS(GeodeticDatum datum, Axis[] axisOrder,
073:                    Identifiable identity) {
074:                super (datum, axisOrder, identity);
075:            }
076:
077:            /**
078:             * @param datum
079:             * @param axisOrder
080:             * @param identifiers
081:             * @param names
082:             * @param versions
083:             * @param descriptions
084:             * @param areasOfUse
085:             */
086:            public GeocentricCRS(GeodeticDatum datum, Axis[] axisOrder,
087:                    String[] identifiers, String[] names, String[] versions,
088:                    String[] descriptions, String[] areasOfUse) {
089:                super (datum, axisOrder, identifiers, names, versions,
090:                        descriptions, areasOfUse);
091:            }
092:
093:            /**
094:             * @param datum
095:             * @param axisOrder
096:             * @param identifier
097:             * @param name
098:             * @param version
099:             * @param description
100:             * @param areaOfUse
101:             */
102:            public GeocentricCRS(GeodeticDatum datum, Axis[] axisOrder,
103:                    String identifier, String name, String version,
104:                    String description, String areaOfUse) {
105:                this (datum, axisOrder, new String[] { identifier },
106:                        new String[] { name }, new String[] { version },
107:                        new String[] { description },
108:                        new String[] { areaOfUse });
109:            }
110:
111:            /**
112:             * @param datum
113:             * @param axisOrder
114:             * @param identifier
115:             */
116:            public GeocentricCRS(GeodeticDatum datum, Axis[] axisOrder,
117:                    String identifier) {
118:                this (datum, axisOrder, new String[] { identifier }, null, null,
119:                        null, null);
120:            }
121:
122:            /**
123:             * Geocentric crs with it's axis pointing to x=front, y=east, z=north.
124:             * 
125:             * @param datum
126:             * @param identifier
127:             * @param name
128:             */
129:            public GeocentricCRS(GeodeticDatum datum, String identifier,
130:                    String name) {
131:                this (datum, new Axis[] { new Axis("X", Axis.AO_FRONT),
132:                        new Axis("Y", Axis.AO_EAST),
133:                        new Axis("Z", Axis.AO_NORTH) },
134:                        new String[] { identifier }, new String[] { name },
135:                        null, null, null);
136:            }
137:
138:            @Override
139:            public int getType() {
140:                return CoordinateSystem.GEOCENTRIC_CRS;
141:            }
142:
143:            @Override
144:            public int getDimension() {
145:                return 3;
146:            }
147:        }
www.java2java.com | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.