DISPLACE  1.0
A spatial model of fisheries to help sustainable fishing and maritime spatial planning
windmilldata.h
Go to the documentation of this file.
1 /* --------------------------------------------------------------------------
2  * DISPLACE: DYNAMIC INDIVIDUAL VESSEL-BASED SPATIAL PLANNING
3  * AND EFFORT DISPLACEMENT
4  * Copyright (c) 2012-2019 Francois Bastardie <fba@aqua.dtu.dk>
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; either version 2 of the License, or
9  * (at your option) any later version.
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 General Public License along
17  * with this program; if not, write to the Free Software Foundation, Inc.,
18  * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
19  * --------------------------------------------------------------------------
20  */
21 #ifndef WINDMILLDATA_H
22 #define WINDMILLDATA_H
23 
24 #include <Windmill.h>
25 #include <QList>
26 
27 #include <memory>
28 
29 class WindmillStats;
30 
32 {
33 public:
34  std::shared_ptr<Windmill> mWindmill; /* This is crap too. */
35 
36  WindmillData(std::shared_ptr<Windmill> windmill);
37 
38  double getX() const;
39  double getY() const;
40 
41 private:
42  double mX;
43  double mY;
44  };
45 
47 public:
48  double x;
49  double y;
50 
51 };
52 
53 #endif // WINDMILLDATA_H
WindmillData(std::shared_ptr< Windmill > windmill)
Definition: windmilldata.cpp:23
double x
Definition: windmilldata.h:48
double y
Definition: windmilldata.h:49
std::shared_ptr< Windmill > mWindmill
Definition: windmilldata.h:34
Definition: windmilldata.h:31
double getY() const
Definition: windmilldata.cpp:33
double getX() const
Definition: windmilldata.cpp:28
Definition: windmilldata.h:46