• 大小: 32.38 KB
    文件类型: .rar
    金币: 1
    下载: 0 次
    发布日期: 2024-09-13
  • 语言: 其他
  • 标签:

资源简介

实现大地测量中的高斯投影正反算,是C++的源代码。绝对好用

资源截图

代码片段和文件信息

// GaussProjection.cpp : Defines the class behaviors for the application.
//

#include “stdafx.h“
#include “GaussProjection.h“
#include “GaussProjectionDlg.h“

#ifdef _DEBUG
#define new DEBUG_NEW
#undef THIS_FILE
static char THIS_FILE[] = __FILE__;
#endif

/////////////////////////////////////////////////////////////////////////////
// CGaussProjectionApp

BEGIN_MESSAGE_MAP(CGaussProjectionApp CWinApp)
//{{AFX_MSG_MAP(CGaussProjectionApp)
// NOTE - the ClassWizard will add and remove mapping macros here.
//    DO NOT EDIT what you see in these blocks of generated code!
//}}AFX_MSG
ON_COMMAND(ID_HELP CWinApp::onhelp)
END_MESSAGE_MAP()

/////////////////////////////////////////////////////////////////////////////
// CGaussProjectionApp construction

CGaussProjectionApp::CGaussProjectionApp()
{
// TODO: add construction code here
// Place all significant initialization in InitInstance
}

/////////////////////////////////////////////////////////////////////////////
// The one and only CGaussProjectionApp object

CGaussProjectionApp theApp;

/////////////////////////////////////////////////////////////////////////////
// CGaussProjectionApp initialization

BOOL CGaussProjectionApp::InitInstance()
{
AfxEnableControlContainer();

// Standard initialization
// If you are not using these features and wish to reduce the size
//  of your final executable you should remove from the following
//  the specific initialization routines you do not need.

#ifdef _AFXDLL
Enable3dControls(); // Call this when using MFC in a shared DLL
#else
Enable3dControlsStatic(); // Call this when linking to MFC statically
#endif

CGaussProjectionDlg dlg;
m_pMainWnd = &dlg;
int nResponse = dlg.DoModal();
if (nResponse == IDOK)
{
// TODO: Place code here to handle when the dialog is
//  dismissed with OK
}
else if (nResponse == IDCANCEL)
{
// TODO: Place code here to handle when the dialog is
//  dismissed with Cancel
}

// Since the dialog has been closed return FALSE so that we exit the
//  application rather than start the application‘s message pump.
return FALSE;
}

 属性            大小     日期    时间   名称
----------- ---------  ---------- -----  ----

     文件      38324  2008-11-01 16:13  GaussProjection\GaussProjection.aps

     文件       3319  2008-11-03 17:01  GaussProjection\GaussProjection.clw

     文件       2189  2008-10-28 22:09  GaussProjection\GaussProjection.cpp

     文件       4321  2008-10-24 22:50  GaussProjection\GaussProjection.dsp

     文件        555  2008-10-24 22:50  GaussProjection\GaussProjection.dsw

     文件       1423  2008-10-28 22:09  GaussProjection\GaussProjection.h

     文件      58368  2008-11-03 17:01  GaussProjection\GaussProjection.ncb

     文件      54784  2008-11-03 17:01  GaussProjection\GaussProjection.opt

     文件       1178  2008-11-02 15:37  GaussProjection\GaussProjection.plg

     文件       8651  2008-11-01 16:13  GaussProjection\GaussProjection.rc

     文件      13203  2008-11-02 15:37  GaussProjection\GaussProjectionDlg.cpp

     文件       2171  2008-11-01 16:04  GaussProjection\GaussProjectionDlg.h

     文件       3741  2008-10-24 22:50  GaussProjection\ReadMe.txt

     文件       1797  2008-11-01 16:07  GaussProjection\Resource.h

     文件        217  2008-10-24 22:50  GaussProjection\StdAfx.cpp

     文件       1054  2008-10-24 22:50  GaussProjection\StdAfx.h

     文件       1078  2008-10-24 22:50  GaussProjection\res\GaussProjection.ico

     文件        407  2008-10-24 22:50  GaussProjection\res\GaussProjection.rc2

     目录          0  2009-02-21 17:02  GaussProjection\res

     目录          0  2009-02-21 17:02  GaussProjection

----------- ---------  ---------- -----  ----

               196780                    20


评论

共有 条评论

相关资源