Code/Resource
Windows Develop
Linux-Unix program
Internet-Socket-Network
Web Server
Browser Client
Ftp Server
Ftp Client
Browser Plugins
Proxy Server
Email Server
Email Client
WEB Mail
Firewall-Security
Telnet Server
Telnet Client
ICQ-IM-Chat
Search Engine
Sniffer Package capture
Remote Control
xml-soap-webservice
P2P
WEB(ASP,PHP,...)
TCP/IP Stack
SNMP
Grid Computing
SilverLight
DNS
Cluster Service
Network Security
Communication-Mobile
Game Program
Editor
Multimedia program
Graph program
Compiler program
Compress-Decompress algrithms
Crypt_Decrypt algrithms
Mathimatics-Numerical algorithms
MultiLanguage
Disk/Storage
Java Develop
assembly language
Applications
Other systems
Database system
Embeded-SCM Develop
FlashMX/Flex
source in ebook
Delphi VCL
OS Develop
MiddleWare
MPI
MacOS develop
LabView
ELanguage
Software/Tools
E-Books
Artical/Document
MapPoint.h
Package: SHP_to_VCT.rar [view]
Upload User: bjslfz
Upload Date: 2022-07-25
Package Size: 4430k
Code Size: 1k
Category:
File Operate
Development Platform:
C/C++
- /************************************************************
- 文件名: MapPoint.h
- 作者: 谢婧 Version : 1.0 Date: 2008/05/26
- 类描述: 对单个点对象的管理
- 邮件地址:xiejing0707@163.com
- ***********************************************************/
- #ifndef _MAP_POINT_H_
- #define _MAP_POINT_H_
- class CMapPoint:public CObject {
- DECLARE_DYNAMIC(CMapPoint)
- public:
- CMapPoint();
- CMapPoint(CMapPoint& pt);
- virtual ~CMapPoint();
- public:
- void SetX(double& dbX ) { m_dbX = dbX;};
- void SetY(double& dbY ) { m_dbY = dbY;};
- void SetIndex(unsigned int uiIndex ) { m_uiIndex = uiIndex ; };
- unsigned int GetIndex() { return m_uiIndex; };
- void SetStatus(bool& bStatus) { m_bStatus = bStatus;};
- double GetX() { return m_dbX;};
- double GetY() { return m_dbY;};
- double Distance(CMapPoint& pt );
- bool GetStatus() { return m_bStatus;};
- bool IsEqual(CMapPoint& pt );
- bool IsPointInLine(CMapPoint& p1 , CMapPoint& p2 );
- private:
- bool m_bStatus; //0---非选中状态, 1---选中状态
- unsigned int m_uiIndex; //索引值
- double m_dbX;
- double m_dbY;
- CString m_csID;
- };
- #endif //_MAP_POINT_H_