point.h

来自「一个很不错的求Voronoi线与最小凸壳的vc++源程序」· C头文件 代码 · 共 35 行

H
35
字号
// Point.h: interface for the CPoint class.
//
//////////////////////////////////////////////////////////////////////

#if !defined(AFX_POINT_H__080AC5F0_62D5_492C_B61C_7A5F90508575__INCLUDED_)
#define AFX_POINT_H__080AC5F0_62D5_492C_B61C_7A5F90508575__INCLUDED_

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

#include "Draw.h"

class CNetPoint : public CDraw  
{
protected:
	double m_x,m_y,m_rRadiu;
public:
	double ReturnX();
	double ReturnY();
	CNetPoint();
	CNetPoint(short ColorPen,double x,double y,double rRadiu,short Layer,int id_only)
	{
		m_x=x;
		m_y=y;
		m_rRadiu=rRadiu;
		m_id_only=id_only;
	}
	virtual void Draw(CDC *pDC,int m_DrawMode,int m_DrawModel,short BackColor,int id);
	virtual ~CNetPoint();

};

#endif // !defined(AFX_POINT_H__080AC5F0_62D5_492C_B61C_7A5F90508575__INCLUDED_)

⌨️ 快捷键说明

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