Добавил:
Studfiles2
Опубликованный материал нарушает ваши авторские права? Сообщите нам.
Вуз:
Предмет:
Файл:
// TEdge.cpp: implementation of the TEdge class.
//
//////////////////////////////////////////////////////////////////////
#include "stdafx.h"
#include "ConvexHull.h"
#include "TEdge.h"
#ifdef _DEBUG
#undef THIS_FILE
static char THIS_FILE[]=__FILE__;
#define new DEBUG_NEW
#endif
//////////////////////////////////////////////////////////////////////
// Construction/Destruction
//////////////////////////////////////////////////////////////////////
TEdge::TEdge(TPoint p1, TPoint p2):Begin(p1.x, p1.y),End(p2.x, p2.y)
{
}
TEdge::~TEdge()
{
}
int TEdge::GetType(void)
{
return G_EDGE;
}
Соседние файлы в папке ConvexHull_1