Mutable demo
Polygon_old Class Reference

#include <polygon.h>

Public Member Functions

 Polygon_old (int n)
 
void append (const Point2D &a)
 
int number () const
 
float perimeter () const
 
bool operator< (const Polygon_old &rhs) const
 

Detailed Description

Definition at line 59 of file polygon.h.

Constructor & Destructor Documentation

◆ Polygon_old()

Polygon_old::Polygon_old ( int  n)

Definition at line 20 of file polygon.cpp.

Member Function Documentation

◆ append()

void Polygon_old::append ( const Point2D a)
inline

Definition at line 63 of file polygon.h.

◆ number()

int Polygon_old::number ( ) const
inline

Definition at line 64 of file polygon.h.

◆ operator<()

bool Polygon_old::operator< ( const Polygon_old rhs) const
inline

Definition at line 66 of file polygon.h.

Here is the call graph for this function:

◆ perimeter()

float Polygon_old::perimeter ( ) const

Definition at line 31 of file polygon.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

The documentation for this class was generated from the following files: