Intro_Class_Area
Public Member Functions | List of all members
Circle Class Reference

#include <form.h>

Inheritance diagram for Circle:
Form

Public Member Functions

 Circle (float x, float y, float radius)
 
std::string classname () const override
 
float area () const override
 
- Public Member Functions inherited from Form
 Form (float x, float y)
 
 Form (const Form &rhs)
 
float GetX () const
 
float GetY () const
 
virtual ~Form ()
 

Detailed Description

Definition at line 54 of file form.h.

Constructor & Destructor Documentation

◆ Circle()

Circle::Circle ( float  x,
float  y,
float  radius 
)
inline

Definition at line 57 of file form.h.

Member Function Documentation

◆ area()

float Circle::area ( ) const
overridevirtual

Implements Form.

Definition at line 15 of file form.cpp.

◆ classname()

std::string Circle::classname ( ) const
inlineoverridevirtual

Reimplemented from Form.

Definition at line 58 of file form.h.


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