www.pudn.com > TINcreatewithdelauney.rar > ssView.h


// ssView.h : interface of the CSsView class 
// 
///////////////////////////////////////////////////////////////////////////// 
 
#if !defined(AFX_SSVIEW_H__A0F025B9_B20F_44EB_9320_A5309BB7828A__INCLUDED_) 
#define AFX_SSVIEW_H__A0F025B9_B20F_44EB_9320_A5309BB7828A__INCLUDED_ 
 
#if _MSC_VER > 1000 
#pragma once 
#endif // _MSC_VER > 1000 
 
struct xishu 
{ float a; 
  float b; 
  float c; 
}; 
 
class CSsView : public CView 
{ 
protected: // create from serialization only 
	CSsView(); 
	DECLARE_DYNCREATE(CSsView) 
 
// Attributes 
public: 
	CSsDoc* GetDocument(); 
 
// Operations 
public: 
 
// Overrides 
	// ClassWizard generated virtual function overrides 
	//{{AFX_VIRTUAL(CSsView) 
	public: 
	virtual void OnDraw(CDC* pDC);  // overridden to draw this view 
	virtual BOOL PreCreateWindow(CREATESTRUCT& cs); 
	protected: 
	virtual BOOL OnPreparePrinting(CPrintInfo* pInfo); 
	virtual void OnBeginPrinting(CDC* pDC, CPrintInfo* pInfo); 
	virtual void OnEndPrinting(CDC* pDC, CPrintInfo* pInfo); 
	//}}AFX_VIRTUAL 
 
// Implementation 
public: 
	int m_xianshi; 
bool m_caozuo; 
	int x; 
	int r; 
	int q; 
	CPoint mc; 
	int find(int s,int n); 
	void on3(); 
	void on2(); 
	void On1(); 
	int m_which; 
	int m; 
	CPoint chuixing(xishu a0, xishu b0); 
xishu PiFenXian(POINT point1, POINT point2); 
	int s; 
	int num; 
	int isincircle(int s,CPoint charu); 
	int isinsanjiao(int s,CPoint charu); 
	CPoint dian[10000][3]; 
	virtual ~CSsView(); 
#ifdef _DEBUG 
	virtual void AssertValid() const; 
	virtual void Dump(CDumpContext& dc) const; 
#endif 
 
protected: 
 
// Generated message map functions 
protected: 
	//{{AFX_MSG(CSsView) 
	afx_msg void OnLButtonDown(UINT nFlags, CPoint point); 
	afx_msg void Oncaozuo(); 
	afx_msg void Onqingping(); 
	afx_msg void Onbaocun(); 
	afx_msg void Ondaoru(); 
	afx_msg void Onfangda(); 
	afx_msg void Onsuoxiao(); 
	//}}AFX_MSG 
	DECLARE_MESSAGE_MAP() 
}; 
 
#ifndef _DEBUG  // debug version in ssView.cpp 
inline CSsDoc* CSsView::GetDocument() 
   { return (CSsDoc*)m_pDocument; } 
#endif 
 
///////////////////////////////////////////////////////////////////////////// 
 
//{{AFX_INSERT_LOCATION}} 
// Microsoft Visual C++ will insert additional declarations immediately before the previous line. 
 
#endif // !defined(AFX_SSVIEW_H__A0F025B9_B20F_44EB_9320_A5309BB7828A__INCLUDED_)