oop_in_c/Polygon.c

55 lines
665 B
C

#include "Polygon.h"
/* private */
static const char* __Polygon_type ()
{
return "Polygon";
}
static Polygon* __Polygon_clone (const Polygon *this)
{
}
static void __Polygon_destroy (Polygon *this)
{
}
static void __Polygon_draw (const Polygon *this)
{
}
static double __Polygon_area (const Polygon *this)
{
}
static double __Polygon_max_diag (const Polygon *this)
{
}
/* public */
Polygon* Polygon_new (const struct point *points)
{
}
/* considered to be protected */
void Polygon_constructor (Polygon *this, const struct point *points)
{
}
void Polygon_destructor (Polygon *this)
{
}
void Polygon_copy (Polygon *dest, const Polygon *src)
{
}