]> git.mxchange.org Git - flightgear.git/blob - FixNode/fixnode.hxx
0bcc9b2c376896edbf45c3a903f4b96e225ffa1c
[flightgear.git] / FixNode / fixnode.hxx
1 // fixnode.hxx -- traverse the node file and fix the elevation of all the new
2 //                interpolated points.
3 //
4 // Written by Curtis Olson, started November 1997.
5 //
6 // Copyright (C) 1997  Curtis L. Olson  - curt@infoplane.com
7 //
8 // This program is free software; you can redistribute it and/or modify
9 // it under the terms of the GNU General Public License as published by
10 // the Free Software Foundation; either version 2 of the License, or
11 // (at your option) any later version.
12 //
13 // This program is distributed in the hope that it will be useful,
14 // but WITHOUT ANY WARRANTY; without even the implied warranty of
15 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
16 // GNU 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., 675 Mass Ave, Cambridge, MA 02139, USA.
21 //
22 // $Id$
23 // (Log is kept at end of this file)
24 //
25
26
27 #ifndef _FIXNODE_H
28 #define _FIXNODE_H
29
30
31 #include <stdio.h>
32 #include <string.h>
33 #include <string>
34
35 #include <vector>
36 #include "Include/fg_stl_config.h"
37
38 #ifdef NEEDNAMESPACESTD
39 using namespace std;
40 #endif
41
42 #include <DEM/dem.hxx>
43 #include <Include/fg_types.h>
44
45
46 typedef vector < fgPoint3d > container;
47 typedef container::iterator iterator;
48 typedef container::const_iterator const_iterator;
49
50
51 // Initialize a new mesh structure
52 void load_nodes(const string& basename, container& node_list);
53
54
55 // load the node information
56 void fix_nodes( const string& basename, fgDEM& dem, container& node_list );
57
58
59 #endif // _FIXNODE_H
60
61
62 // $Log$
63 // Revision 1.3  1998/09/19 20:43:53  curt
64 // C++-ified and STL-ified the code.  Combined triload.* and fixnode.* into
65 // a single file.
66 //
67 // Revision 1.2  1998/07/22 21:46:41  curt
68 // Fixed a bug that was triggering a seg fault.
69 //
70 // Revision 1.1  1998/04/08 23:05:56  curt
71 // Adopted Gnu automake/autoconf system.
72 //
73 // Revision 1.4  1998/03/19 02:50:19  curt
74 // Updated to support -lDEM class.
75 //
76 // Revision 1.3  1998/03/03 16:00:58  curt
77 // More c++ compile tweaks.
78 //
79 // Revision 1.2  1997/12/02 13:12:07  curt
80 // Updated to fix every node.
81 //
82 // Revision 1.1  1997/11/27 00:17:33  curt
83 // Initial revision.
84 //