646a131a8e8eeea149e820af709d70030819cc96
Stefan Schuermans add config file generator

Stefan Schuermans authored 7 years ago

1) /*
Stefan Schuermans rename "FlexiPix" to "Ether...

Stefan Schuermans authored 7 years ago

2)  * EtherPix config file generator
Stefan Schuermans add config file generator

Stefan Schuermans authored 7 years ago

3)  *
Stefan Schuermans update copyright year

Stefan Schuermans authored 7 years ago

4)  * Copyright 2010-2017 Stefan Schuermans <stefan schuermans info>
Stefan Schuermans add config file generator

Stefan Schuermans authored 7 years ago

5)  *
6)  * This program is free software: you can redistribute it and/or modify
7)  * it under the terms of the GNU General Public License as published by
8)  * the Free Software Foundation, version 3 of the License.
9)  *
10)  *
11)  * This program is distributed in the hope that it will be useful,
12)  * but WITHOUT ANY WARRANTY; without even the implied warranty of
13)  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
14)  * GNU General Public License for more details.
15)  *
16)  * You should have received a copy of the GNU Lesser General Public License
17)  * along with this program. If not, see <http://www.gnu.org/licenses/>.
18)  */
19) 
20) #ifndef INC_BOX_H
21) #define INC_BOX_H
22) 
23) #include "point.h"
24) 
25) class Box {
26) public:
27)   Box();
28)   Box(const Point &bl, const Point &tr);
29)   void fix();
30)   void getCenter(Point &center);
31)   void include(const Point &p);
32)   void include(const Box &b);
33)   bool isIntersecting(const Box *pBox) const;
34)   bool getIntersection(const Box *pBox, Box *pIntersect) const;
Stefan Schuermans implement simulator config...

Stefan Schuermans authored 7 years ago

35)   void getRelative(const Point &abs, Point &rel) const;