Etudes/BTS/C++/Fonderie/CBarreRectangle.h

25 lines
535 B
C
Raw Permalink Normal View History

2016-10-14 15:52:18 +00:00
#ifndef CBARRERECTANGLE_H_INCLUDED
#define CBARRERECTANGLE_H_INCLUDED
#include "CBarre.h"
class CBarreRectangle : public CBarre
{
private:
float hauteur;
float largeur;
public:
CBarreRectangle(const float _densite, const float _longueur, const string _referenceBarre, const float _hauteur, const float _largeur);
CBarreRectangle(const CBarreRectangle &barreRectangle);
CBarreRectangle();
~CBarreRectangle();
float calculerMasse();
float calculerSection();
};
#endif // CBARRERECTANGLE_H_INCLUDED