svn-gvsig-desktop / tags / v1_1_1_Build_1016 / libraries / libjni-ecw / include / NCSCoordinateTransform.h @ 33925
History | View | Annotate | Download (1.67 KB)
1 |
/***************************************************************************
|
---|---|
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): CNCSCoordinateTransform
|
15 |
** FILE: NCSCoordinateTransform.h
|
16 |
** CREATED: 18 Jan 2000
|
17 |
** AUTHOR: Matthew Bardsley
|
18 |
** PURPOSE: Holds definition of NCSCoordinateTransform Class
|
19 |
** EDITS:
|
20 |
**
|
21 |
** CLASS NOTES:
|
22 |
***************************************************************************/
|
23 |
#if !defined(NCSCOORDINATETRANSFORM_H)
|
24 |
#define NCSCOORDINATETRANSFORM_H
|
25 |
|
26 |
#include "NCSPoint.h" |
27 |
#include "NCSCoordinateSystem.h" |
28 |
|
29 |
class NCS_EXPORT CNCSCoordinateTransform |
30 |
{ |
31 |
public:
|
32 |
//constructors
|
33 |
CNCSCoordinateTransform(CNCSCoordinateSystem *pSrc = NULL,
|
34 |
CNCSCoordinateSystem *pDest = NULL);
|
35 |
virtual ~CNCSCoordinateTransform (); |
36 |
|
37 |
//access methods to private members
|
38 |
NCSError GetSrcCoordSys( CNCSCoordinateSystem *pCoord); |
39 |
NCSError SetSrcCoordSys( CNCSCoordinateSystem *pCoord); |
40 |
NCSError GetDestCoordSys( CNCSCoordinateSystem *pCoord); |
41 |
NCSError SetDestCoordSys( CNCSCoordinateSystem *pCoord); |
42 |
|
43 |
//translation routines
|
44 |
virtual NCSError Transform(CNCSPoint *pSrc,CNCSPoint *pDest); |
45 |
|
46 |
private:
|
47 |
CNCSCoordinateSystem *m_pSrcCoordSys; |
48 |
CNCSCoordinateSystem *m_pDestCoordSys; |
49 |
|
50 |
}; |
51 |
|
52 |
#endif // !defined(NCSCOORDINATETRANSFORM_H) |