Forms with mutable Area
Form Class Referenceabstract

#include <form.h>

Inheritance diagram for Form:

Public Member Functions

 Form (float x, float y)
 
 Form (Form const &)=default
 
float GetX () const
 
float GetY () const
 
virtual std::string classname () const
 
virtual float area () const =0
 
virtual ~Form ()
 

Detailed Description

Definition at line 72 of file form.h.

Constructor & Destructor Documentation

◆ Form() [1/2]

Form::Form ( float  x,
float  y 
)
inline

Definition at line 76 of file form.h.

◆ Form() [2/2]

Form::Form ( Form const &  )
default

◆ ~Form()

Form::~Form ( )
virtualdefault

Member Function Documentation

◆ area()

virtual float Form::area ( ) const
pure virtual

Implemented in Polygon, Kreis, and Quadrat.

Here is the caller graph for this function:

◆ classname()

virtual std::string Form::classname ( ) const
inlinevirtual

Reimplemented in Polygon, Kreis, and Quadrat.

Definition at line 89 of file form.h.

Here is the caller graph for this function:

◆ GetX()

float Form::GetX ( ) const
inline

Definition at line 80 of file form.h.

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

◆ GetY()

float Form::GetY ( ) const
inline

Definition at line 84 of file form.h.

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: