⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 geocomputerdlg.h

📁 我是测绘学院的学生
💻 H
字号:
// GeoComputerDlg.h : header file
//

#if !defined(AFX_GEOCOMPUTERDLG_H__97C8EAB7_8E85_4794_A9D2_6BD9F9ED24C7__INCLUDED_)
#define AFX_GEOCOMPUTERDLG_H__97C8EAB7_8E85_4794_A9D2_6BD9F9ED24C7__INCLUDED_

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000

#define PI 3.1415926535897932384626433832795
#define KE_FOR 0
#define KE_BAC 1
#define IN_FOR 2
#define IN_BAC 3
/////////////////////////////////////////////////////////////////////////////
// CGeoComputerDlg dialog
#include "ToolTipWnd.h"
class CGeoComputerDlg : public CDialog
{
// Construction
public:
	void GetBLFromEDIT(CString m_InB,CString m_InL);
	void ComputeDMS(char*stAng,double &md,double &mm,double &ms);
	void ExtractBLdata(double &m_Bd,double &m_Bm,double &m_Bs,double &m_Ld,double &m_Lm,double &L_Bs,int &number,char*st);
	void ExtracteXYData(int&number,double&resultX,double&resultY,char*st);
	void InsertBLxy(double resultB,double resultL,double resultX,double resultY,long number,int m_Type);
	void PrepareData();
	int strcmp(char *st1,char*st2);
	CGeoComputerDlg(CWnd* pParent = NULL);	// standard constructor

	double l;
	double N;
	double a0;
	double a4;
	double	a6;
	double	a5;
	double	a3;
	double B;
	double L;
	double L0;
	double	resultX;
	double	resultY;
	double	resultB;
	double resultL;
	LVITEM  item;	
	double p;
	double cosB2;
//反算参数
	double Bf;
	double	q;		//表示贝打;
	double	Z;
	double	Nf;
	double	b2;
	double	b3;
	double	b4;
	double	b5;
	int m_Type;
	CFileDialog *pdlg;
	CString sPath;
	FILE *fp;
// Dialog Data
	double	m_Bd;
	double	m_Bm;
	double	m_Bs;
	double	m_Ld;
	double	m_Lm;
	double	m_Ls;
	CToolTipWnd m_ToolTip;
	//{{AFX_DATA(CGeoComputerDlg)
	enum { IDD = IDD_GEOCOMPUTER_DIALOG };
	CListCtrl	m_ListXY;
	CListCtrl	m_ListBL;
	int		m_CompType;
	BOOL	m_Check;
	double	m_Bx;
	double	m_Ly;
	int		m_EllipType;
	CString	m_InB;
	CString	m_InL;
	int		m_Belt;
	//}}AFX_DATA

	// ClassWizard generated virtual function overrides
	//{{AFX_VIRTUAL(CGeoComputerDlg)
	public:
	virtual BOOL PreTranslateMessage(MSG* pMsg);
	protected:
	virtual void DoDataExchange(CDataExchange* pDX);	// DDX/DDV support
	//}}AFX_VIRTUAL

// Implementation
protected:
	HICON m_hIcon;

	// Generated message map functions
	//{{AFX_MSG(CGeoComputerDlg)
	virtual BOOL OnInitDialog();
	afx_msg void OnSysCommand(UINT nID, LPARAM lParam);
	afx_msg void OnPaint();
	afx_msg HCURSOR OnQueryDragIcon();
	afx_msg void OnButtcompute();
	afx_msg void OnChecktol();
	afx_msg void OnRadioFansuan();
	afx_msg void OnRadioZHENGSUAN();
	afx_msg void OnButtsave();
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()
};

//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.

#endif // !defined(AFX_GEOCOMPUTERDLG_H__97C8EAB7_8E85_4794_A9D2_6BD9F9ED24C7__INCLUDED_)

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -