📄 calculate.h
字号:
#if !defined(AFX_CALCULATE_H__52104474_516A_11D7_8266_00E04CE3F04D__INCLUDED_)
#define AFX_CALCULATE_H__52104474_516A_11D7_8266_00E04CE3F04D__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// Calculate.h : header file
//
/////////////////////////////////////////////////////////////////////////////
// CCalculate dialog
class CCalculate : public CDialog
{
// Construction
public:
int invMatrixGJ(double **a,int n);
int gauss(double **a,double *b,int n);
int gau();
void QJFCZ(double **Naa,double *K,double *W,int n);
void JZXC(double **A,int m,int n);
//定义已知数据
double **A; //改正数系数矩阵
double **Naa; //法方程
double *K; //联系数向量
double *V; //改正数
double *W; //闭合差
double GZS[3][3]; // 角度改正数构成的A矩阵
double pGZS[3][3]; //经角度改正数构成的A矩阵
double f,x,y;
double Xp,Yp,Zp,Xs,Ys,Zs;
double pXs,pYs,pZs,pq,pw,pk; //平差后的外方为元素
double q,w,k; //经度换弧度后的结果
double *dX,*dY;
double H; //航高 H=Zs-Zp;
BOOL m_e,m_e1;
CCalculate(CWnd* pParent = NULL); // standard constructor
// Dialog Data
//{{AFX_DATA(CCalculate)
enum { IDD = IDD_DIALOG1 };
//}}AFX_DATA
// Overrides
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CCalculate)
protected:
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
//}}AFX_VIRTUAL
// Implementation
protected:
// Generated message map functions
//{{AFX_MSG(CCalculate)
afx_msg BOOL OnDialogCalculate();
afx_msg void OnOutputdata();
afx_msg BOOL OnShowwindow();
virtual BOOL OnInitDialog();
afx_msg void OnDialogCancel();
afx_msg void OnButton2();
afx_msg BOOL OnDialogShowxy();
afx_msg void OnDialogShowoutdata();
afx_msg void OnDialogShowindata();
afx_msg void OnButton3();
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
};
//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
#endif // !defined(AFX_CALCULATE_H__52104474_516A_11D7_8266_00E04CE3F04D__INCLUDED_)
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -