2012-05-02 19:02:38 +04:00
|
|
|
#include "Rhomb.h"
|
|
|
|
|
|
|
|
/* private */
|
|
|
|
static const char* __Rhomb_type ()
|
|
|
|
{
|
|
|
|
return "Rhomb";
|
|
|
|
}
|
|
|
|
|
|
|
|
static Rhomb* __Rhomb_clone (const Rhomb *this)
|
|
|
|
{
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
static void __Rhomb_destroy (Rhomb *this)
|
|
|
|
{
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
static void __Rhomb_draw (const Rhomb *this)
|
|
|
|
{
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
static double __Rhomb_area (const Rhomb *this)
|
|
|
|
{
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
static double __Rhomb_max_diag (const Rhomb *this)
|
|
|
|
{
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
static int __Rhomb_is_square (const Rhomb *this)
|
|
|
|
{
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
/* public */
|
2012-05-02 19:55:53 +04:00
|
|
|
Rhomb* Rhomb_new (const struct point *points, int npoints)
|
2012-05-02 19:02:38 +04:00
|
|
|
{
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
/* considered to be protected */
|
2012-05-02 19:55:53 +04:00
|
|
|
void Rhomb_constructor (Rhomb *this, const struct point *points, int npoints)
|
2012-05-02 19:02:38 +04:00
|
|
|
{
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
void Rhomb_destructor (Rhomb *this)
|
|
|
|
{
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
void Rhomb_copy (Rhomb *dest, const Rhomb *src)
|
|
|
|
{
|
|
|
|
|
|
|
|
}
|