svn-gvsig-desktop / tags / v1_0_2_Build_907 / libraries / libjni-ecw / include / NCSCoordinateSystem.h @ 33853
History | View | Annotate | Download (1.96 KB)
1 | 3538 | nacho | /***************************************************************************
|
---|---|---|---|
2 | ** Copyright 1989-2000 - Earth Resource Mapping Ltd.
|
||
3 | ** This document contains proprietary source code of
|
||
4 | ** Earth Resource Mapping Ltd, and can only be used under
|
||
5 | ** one of the three licenses as described in the
|
||
6 | ** license.txt file supplied with this distribution.
|
||
7 | ** See separate license.txt file for license details
|
||
8 | ** and conditions.
|
||
9 | **
|
||
10 | ** This software is covered by US patent #6,442,298,
|
||
11 | ** #6,102,897 and #6,633,688. Rights to use these patents
|
||
12 | ** is included in the license agreements.
|
||
13 | **
|
||
14 | ** CLASS(ES): CNCSCoordinateSystem
|
||
15 | ** FILE: NCSCoordinateSystem.h
|
||
16 | ** CREATED: 18 Jan 2000
|
||
17 | ** AUTHOR: Matthew Bardsley
|
||
18 | ** PURPOSE: Holds definition of NCSCoordinateSystem Class
|
||
19 | ** EDITS:
|
||
20 | **
|
||
21 | ** CLASS NOTES:
|
||
22 | ***************************************************************************/
|
||
23 | #if !defined(NCSCOORDINATESYSTEM_H)
|
||
24 | #define NCSCOORDINATESYSTEM_H
|
||
25 | |||
26 | #include "NCSEcwclient.h" |
||
27 | #include "NCSUtil.h" |
||
28 | |||
29 | class NCS_EXPORT CNCSCoordinateSystem |
||
30 | { |
||
31 | |||
32 | public:
|
||
33 | CNCSCoordinateSystem(char *pCoordinateSystemName = (char *)NULL, |
||
34 | char *pDatumName = (char *)NULL, |
||
35 | char *pProjName = (char *)NULL, |
||
36 | CellSizeUnits nUnits = ECW_CELL_UNITS_METERS, |
||
37 | NCSCoordSys nType = NCSCS_UTM, |
||
38 | IEEE8 dCellX = 0.0, |
||
39 | IEEE8 dCellY = 0.0, |
||
40 | IEEE8 dOriginX = 0.0, |
||
41 | IEEE8 dOriginY = 0.0); |
||
42 | virtual ~CNCSCoordinateSystem(); |
||
43 | |||
44 | //methods
|
||
45 | virtual NCSError IsCompatible(CNCSCoordinateSystem *); |
||
46 | |||
47 | //overloaded operators
|
||
48 | virtual CNCSCoordinateSystem &operator=(CNCSCoordinateSystem &); |
||
49 | virtual BOOLEAN operator==(CNCSCoordinateSystem &); |
||
50 | |||
51 | |||
52 | //properties
|
||
53 | char *m_pCoordinateSystemName;
|
||
54 | char *m_pDatumName;
|
||
55 | char *m_pProjName;
|
||
56 | CellSizeUnits m_nUnits; |
||
57 | NCSCoordSys m_nType; |
||
58 | IEEE8 m_dCellX; |
||
59 | IEEE8 m_dCellY; |
||
60 | IEEE8 m_dOriginX; |
||
61 | IEEE8 m_dOriginY; |
||
62 | |||
63 | }; |
||
64 | |||
65 | #endif // !defined(NCSCOORDINATESYSTEM_H) |