Elements 6.1.2
A C++ base framework for the Euclid Software.
Loading...
Searching...
No Matches
Rectangle.h
Go to the documentation of this file.
1
24#ifndef ELEMENTSEXAMPLES_ELEMENTSEXAMPLES_RECTANGLE_H_
25#define ELEMENTSEXAMPLES_ELEMENTSEXAMPLES_RECTANGLE_H_
26
27#include <utility> // for move
28
29#include "ElementsKernel/Export.h" // for ELEMENTS_API
30
31namespace Elements {
32namespace Examples {
33
35public:
36 int x0;
37 int y0;
38 int x1;
39 int y1;
40 Rectangle(int xl, int yl, int xu, int yu);
41 ~Rectangle();
42 int getLength();
43 int getHeight();
44 int getArea();
45 void move(int dx, int dy);
46};
47
48} // namespace Examples
49} // namespace Elements
50
51#endif // ELEMENTSEXAMPLES_ELEMENTSEXAMPLES_RECTANGLE_H_
52
defines the macros to be used for explicit export of the symbols
#define ELEMENTS_API
Dummy definitions for the backward compatibility mode.
Definition: Export.h:74