You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
72 lines
2.4 KiB
C
72 lines
2.4 KiB
C
2 years ago
|
#if !defined(AFX_GEOPROJECTION_H__2751B550_D3D5_47AB_AAAC_58612AC3F1B9__INCLUDED_)
|
||
|
#define AFX_GEOPROJECTION_H__2751B550_D3D5_47AB_AAAC_58612AC3F1B9__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 CCallback;
|
||
|
|
||
|
/////////////////////////////////////////////////////////////////////////////
|
||
|
// CGeoProjection wrapper class
|
||
|
|
||
|
class CGeoProjection : public COleDispatchDriver
|
||
|
{
|
||
|
public:
|
||
|
CGeoProjection() {} // Calls COleDispatchDriver default constructor
|
||
|
CGeoProjection(LPDISPATCH pDispatch) : COleDispatchDriver(pDispatch) {}
|
||
|
CGeoProjection(const CGeoProjection& dispatchSrc) : COleDispatchDriver(dispatchSrc) {}
|
||
|
|
||
|
// Attributes
|
||
|
public:
|
||
|
|
||
|
// Operations
|
||
|
public:
|
||
|
CString ExportToProj4();
|
||
|
BOOL ImportFromProj4(LPCTSTR proj);
|
||
|
BOOL ImportFromESRI(LPCTSTR proj);
|
||
|
BOOL ImportFromEPSG(long projCode);
|
||
|
CString ExportToWKT();
|
||
|
BOOL ImportFromWKT(LPCTSTR proj);
|
||
|
CCallback GetGlobalCallback();
|
||
|
void SetGlobalCallback(LPDISPATCH newValue);
|
||
|
CString GetErrorMsg(long ErrorCode);
|
||
|
long GetLastErrorCode();
|
||
|
CString GetKey();
|
||
|
void SetKey(LPCTSTR lpszNewValue);
|
||
|
void SetWellKnownGeogCS(long newVal);
|
||
|
BOOL GetIsGeographic();
|
||
|
BOOL GetIsProjected();
|
||
|
BOOL GetIsLocal();
|
||
|
BOOL GetIsSame(LPDISPATCH proj);
|
||
|
BOOL GetIsSameGeogCS(LPDISPATCH proj);
|
||
|
double GetInverseFlattening();
|
||
|
double GetSemiMajor();
|
||
|
double GetSemiMinor();
|
||
|
BOOL GetProjectionParam(long Name, double* Value);
|
||
|
BOOL GetIsEmpty();
|
||
|
BOOL CopyFrom(LPDISPATCH sourceProj);
|
||
|
CString GetName();
|
||
|
CString GetProjectionName();
|
||
|
CString GetGeogCSName();
|
||
|
BOOL GetGeogCSParam(long Name, double* pVal);
|
||
|
void SetGeographicCS(long coordinateSystem);
|
||
|
void SetWgs84Projection(long Projection);
|
||
|
void SetNad83Projection(long Projection);
|
||
|
BOOL GetIsSameExt(LPDISPATCH proj, LPDISPATCH bounds, long numSamplingPoints);
|
||
|
BOOL ReadFromFile(LPCTSTR Filename);
|
||
|
BOOL WriteToFile(LPCTSTR Filename);
|
||
|
BOOL ImportFromAutoDetect(LPCTSTR proj);
|
||
|
};
|
||
|
|
||
|
//{{AFX_INSERT_LOCATION}}
|
||
|
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
|
||
|
|
||
|
#endif // !defined(AFX_GEOPROJECTION_H__2751B550_D3D5_47AB_AAAC_58612AC3F1B9__INCLUDED_)
|