FlightGear next
SHPParser.hxx
Go to the documentation of this file.
1
3
4// Written by James Turner, started 2013.
5//
6// Copyright (C) 2013 James Turner <zakalawe@mac.com>
7//
8// This program is free software; you can redistribute it and/or
9// modify it under the terms of the GNU General Public License as
10// published by the Free Software Foundation; either version 2 of the
11// License, or (at your option) any later version.
12//
13// This program is distributed in the hope that it will be useful, but
14// WITHOUT ANY WARRANTY; without even the implied warranty of
15// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
16// General Public License for more details.
17//
18// You should have received a copy of the GNU General Public License
19// along with this program; if not, write to the Free Software
20// Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
21
22#ifndef FG_SHP_PARSER_HXX
23#define FG_SHP_PARSER_HXX
24
25#include <Navaids/PolyLine.hxx>
26
27// forward decls
28class SGPath;
29
30namespace flightgear
31{
32
34{
35public:
41 static void parsePolyLines(const SGPath&, PolyLine::Type aTy, PolyLineList& aResult, bool aClosed);
42};
43
44} // of namespace flightgear
45
46#endif // of FG_SHP_PARSER_HXX
static void parsePolyLines(const SGPath &, PolyLine::Type aTy, PolyLineList &aResult, bool aClosed)
Parse a shape file containing PolyLine data.
Definition SHPParser.cxx:91
FlightPlan.hxx - defines a full flight-plan object, including departure, cruise, arrival information ...
Definition Addon.cxx:53
std::vector< PolyLineRef > PolyLineList
Definition PolyLine.hxx:41