Скачиваний:
32
Добавлен:
01.05.2014
Размер:
931 б
Скачать
//” ©«: Point.h
//Љ« бб "’®зЄ ". Џа®в®вЁЇ.
//Ђўв®а: ‘ҐаЈҐҐў Њ.‚. Ја.3352
//„ в : 23.04.06, ђҐ¤ ЄжЁп: 1.0

#ifndef __point_h
#define __point_h


class CPoint
{
 private:
	 double x,			//ЂЎбжЁбб  в®зЄЁ
			y;			//Ћа¤Ё­ в  в®зЄЁ
	 static unsigned int countreal;		// Є®«ЁзҐбвў® ॠ«м­® бгйҐбвўгойЁе ®ЎкҐЄв®ў 
	 static unsigned int countall;		// Є®«ЁзҐбвў® ᮧ¤ ­­ле ®ЎкЄв®ў
	 const unsigned int ID;				//Ё¤Ґ­вЁдЁЄ в®а

 public:
	 CPoint();								//‘®§¤ вм в®зЄг
	 double GetX() const;					//Џ®«гзЁвм Є®®а¤Ё­ вл
	 double GetY() const;	
	 //void SetX(double x0);				//“бв ­®ўЁвм Є®®а¤Ё­ вл
	 //void SetY(double y0);     
	 void MoveDX(double dx);				//ЏҐаҐ­ҐбвЁ ў § ¤ ­­®¬  ­ Їа ў«Ґ­ЁЁ
	 void MoveDY(double dy);
	 void PrintData() const;				//‚뢥бвЁ ­  нЄа ­ Їа®Ў«Ґ¬­го з бвм
	 static unsigned int GetCountReal();	//Ї®«гзЁвм Є®«ЁзҐбвў® бгйҐбвўгойЁе ®ЎкҐЄв®ў
	 ~CPoint();								//“­Ёз⮦Ёвм в®зЄг
};
#endif
Соседние файлы в папке Kurs