Elements
6.2
A C++ base framework for the Euclid Software.
|
#include <Rectangle.h>
Public Member Functions | |
Rectangle (int xl, int yl, int xu, int yu) | |
~Rectangle () | |
int | getLength () |
int | getHeight () |
int | getArea () |
void | move (int dx, int dy) |
Public Attributes | |
int | x0 |
int | y0 |
int | x1 |
int | y1 |
Definition at line 34 of file Rectangle.h.
Elements::Examples::Rectangle::Rectangle | ( | int | xl, |
int | yl, | ||
int | xu, | ||
int | yu | ||
) |
Elements::Examples::Rectangle::~Rectangle | ( | ) |
Definition at line 30 of file Rectangle.cpp.
int Elements::Examples::Rectangle::getArea | ( | ) |
int Elements::Examples::Rectangle::getHeight | ( | ) |
Definition at line 36 of file Rectangle.cpp.
int Elements::Examples::Rectangle::getLength | ( | ) |
Definition at line 32 of file Rectangle.cpp.
void Elements::Examples::Rectangle::move | ( | int | dx, |
int | dy | ||
) |
int Elements::Examples::Rectangle::x0 |
Definition at line 36 of file Rectangle.h.
Referenced by getArea(), getLength(), move(), and Rectangle().
int Elements::Examples::Rectangle::x1 |
Definition at line 38 of file Rectangle.h.
Referenced by getArea(), getLength(), move(), and Rectangle().
int Elements::Examples::Rectangle::y0 |
Definition at line 37 of file Rectangle.h.
Referenced by getArea(), getHeight(), move(), and Rectangle().
int Elements::Examples::Rectangle::y1 |
Definition at line 39 of file Rectangle.h.
Referenced by getArea(), getHeight(), move(), and Rectangle().