这里面实现了大地测量中高斯正反算的解算
源代码在线查看: 高斯大地坐标正反算dlg.h
// 高斯大地坐标正反算Dlg.h : header file
//
#if !defined(AFX_DLG_H__53A33098_653E_4BAE_951A_15218E1B2D47__INCLUDED_)
#define AFX_DLG_H__53A33098_653E_4BAE_951A_15218E1B2D47__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
/////////////////////////////////////////////////////////////////////////////
// CMyDlg dialog
class CMyDlg : public CDialog
{
// Construction
public:
CMyDlg(CWnd* pParent = NULL); // standard constructor
int JIZHUN;
double X,N[5],a0[5],a4[5],a6[5],a3[5],a5[5]; //正算系数
double BFZ[5],NF[5],b2[5],b3[5],b4[5],b5[5]; //反算系数
// Dialog Data
//{{AFX_DATA(CMyDlg)
enum { IDD = IDD_MY_DIALOG };
CComboBox m_JIZHUN;
int m_B1D;
int m_B1F;
double m_B1M;
int m_BD;
int m_BF;
double m_BM;
double m_DX;
double m_DY;
int m_L0D;
int m_L0F;
double m_L0M;
int m_L1D;
int m_L1F;
double m_L1M;
int m_LD;
int m_LF;
double m_LM;
//}}AFX_DATA
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CMyDlg)
protected:
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
//}}AFX_VIRTUAL
// Implementation
protected:
HICON m_hIcon;
// Generated message map functions
//{{AFX_MSG(CMyDlg)
virtual BOOL OnInitDialog();
afx_msg void OnSysCommand(UINT nID, LPARAM lParam);
afx_msg void OnPaint();
afx_msg HCURSOR OnQueryDragIcon();
virtual void OnCancel();
afx_msg void OnKillfocusCombo1();
afx_msg void OnZS();
afx_msg void OnFS();
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
};
//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
#endif // !defined(AFX_DLG_H__53A33098_653E_4BAE_951A_15218E1B2D47__INCLUDED_)