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

📄 geopolygon.h

📁 VC++开发广州市交通运输干线
💻 H
字号:
// GeoPolygon.h: interface for the CGeoPolygon class.
//
//////////////////////////////////////////////////////////////////////

#if !defined(AFX_GEOPOLYGON_H__6D53BB5A_891C_4E8E_A6D8_36B8E7114A41__INCLUDED_)
#define AFX_GEOPOLYGON_H__6D53BB5A_891C_4E8E_A6D8_36B8E7114A41__INCLUDED_

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

#include "GeoObject.h"

class CGeoPolygon : public CGeoObject  
{
public:
	CGeoRect m_rtMinRect;	//面对象的最小外接矩形
	void Draw(CDC *pDC,BOOL bDisplay);
	void SetPolygonXY(CGeoPointXY *ptXY,int pointNums);
	void GetPolygonXY(CGeoPointXY *ptXY,int &pointNums);
	CGeoPolygon();
	CGeoPolygon(CGeoPointXY *ptXY,int pointNums,int attriCode);//重载的CGeoPolygon构造函数
	virtual ~CGeoPolygon();
protected:
	vector<CGeoPointXY> m_vecPolyPoint;			//存储该折线一系列点
};

#endif // !defined(AFX_GEOPOLYGON_H__6D53BB5A_891C_4E8E_A6D8_36B8E7114A41__INCLUDED_)

⌨️ 快捷键说明

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