Скачиваний:
14
Добавлен:
01.05.2014
Размер:
701 б
Скачать
#include <graphics.h>

#ifndef IIItriangleIII
#define IIItriangleIII
#include "l1c1point.h"
#include "l1c4list.cpp"

class cTriangle
{
 private:
   List<cPoint> Tr;
   void Center(double &X,double &Y);

 public:
   cTriangle();
   cTriangle(const cPoint P1,const cPoint P2,const cPoint P3);
   void Set(const int i, const cPoint& F);
   float GetX(const int i);
   float GetY(const int i);
   int getquantity();
   int rb();
   int correct();
   void move(const float dx, const float dy);
   void rotate(const float x0,const float y0, const float al);
   void Set(cTriangle &F);
   void scale(const float coef);
   ~cTriangle();
   void Out();
   void Draw();
};

#endif
Соседние файлы в папке Лабораторная работа 22