moprojcoordsys.h
资源名称:MoLecture.rar [点击查看]
上传用户:qinfarui
上传日期:2022-08-10
资源大小:362k
文件大小:2k
源码类别:
GIS编程
开发平台:
Visual C++
- #if !defined(AFX_MOPROJCOORDSYS_H__21025273_DE39_4107_8263_0CFBF5DBCE71__INCLUDED_)
- #define AFX_MOPROJCOORDSYS_H__21025273_DE39_4107_8263_0CFBF5DBCE71__INCLUDED_
- #if _MSC_VER > 1000
- #pragma once
- #endif // _MSC_VER > 1000
- // Machine generated IDispatch wrapper class(es) created by Microsoft Visual C++
- // NOTE: Do not modify the contents of this file. If this class is regenerated by
- // Microsoft Visual C++, your modifications will be overwritten.
- // Dispatch interfaces referenced by this interface
- class CMoGeoCoordSys;
- class CMoUnit;
- class CMoProjection;
- /////////////////////////////////////////////////////////////////////////////
- // CMoProjCoordSys wrapper class
- class CMoProjCoordSys : public COleDispatchDriver
- {
- public:
- CMoProjCoordSys() {} // Calls COleDispatchDriver default constructor
- CMoProjCoordSys(LPDISPATCH pDispatch) : COleDispatchDriver(pDispatch) {}
- CMoProjCoordSys(const CMoProjCoordSys& dispatchSrc) : COleDispatchDriver(dispatchSrc) {}
- // Attributes
- public:
- long GetType();
- void SetType(long);
- CString GetName();
- void SetName(LPCTSTR);
- CMoGeoCoordSys GetGeoCoordSys();
- void SetGeoCoordSys(LPDISPATCH);
- CMoUnit GetUnit();
- void SetUnit(LPDISPATCH);
- CMoProjection GetProjection();
- void SetProjection(LPDISPATCH);
- BOOL GetIsProjected();
- void SetIsProjected(BOOL);
- // Operations
- public:
- void SetParameter(long ParameterType, double ParameterValue);
- double GetParameter(long ParameterType);
- LPDISPATCH Transform(LPDISPATCH FromCoordSys, LPDISPATCH FromShape, const VARIANT& DensificationTolerance, const VARIANT& GeoTransformation);
- void Export(LPCTSTR OutName);
- CString ReturnDescription();
- };
- //{{AFX_INSERT_LOCATION}}
- // Microsoft Visual C++ will insert additional declarations immediately before the previous line.
- #endif // !defined(AFX_MOPROJCOORDSYS_H__21025273_DE39_4107_8263_0CFBF5DBCE71__INCLUDED_)