]> git.mxchange.org Git - flightgear.git/blob - src/Radio/antenna.cxx
Merge branch 'merge-requests/1555' into next
[flightgear.git] / src / Radio / antenna.cxx
1 // antenna.cxx -- implementation of FGRadioAntenna
2 // Class to represent a virtual radio antenna properties 
3 // Written by Adrian Musceac, started December 2011.
4 //
5 // This program is free software; you can redistribute it and/or
6 // modify it under the terms of the GNU General Public License as
7 // published by the Free Software Foundation; either version 2 of the
8 // License, or (at your option) any later version.
9 //
10 // This program is distributed in the hope that it will be useful, but
11 // WITHOUT ANY WARRANTY; without even the implied warranty of
12 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
13 // General Public License for more details.
14 //
15 // You should have received a copy of the GNU General Public License
16 // along with this program; if not, write to the Free Software
17 // Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301, USA.
18
19
20 #ifdef HAVE_CONFIG_H
21 #  include <config.h>
22 #endif
23
24 #include <math.h>
25
26 #include <stdlib.h>
27
28 #include <Scenery/scenery.hxx>
29 #include "antenna.hxx"
30
31
32 FGRadioAntenna::FGRadioAntenna() {
33         
34         _mirror_y = 1;
35         _mirror_z = 1;
36         _invert_ground = 0;
37 }
38
39 FGRadioAntenna::~FGRadioAntenna() {
40         
41 }
42
43 double FGRadioAntenna::calculate_gain(double azimuth, double elevation) {
44         return 0;
45 }
46
47
48
49 /*** load external plot file generated by NEC4
50 ***/
51 void FGRadioAntenna::load_antenna_pattern() {
52         
53 }