Check out the latest version of Routino: svn co http://routino.org/svn/trunk routino
Contents of /trunk/src/visualiser.h
Parent Directory
|
Revision Log
Revision 219 -
(show annotations)
(download)
(as text)
Thu Jul 9 17:31:56 2009 UTC (15 years, 8 months ago) by amb
File MIME type: text/x-chdr
File size: 2125 byte(s)
Thu Jul 9 17:31:56 2009 UTC (15 years, 8 months ago) by amb
File MIME type: text/x-chdr
File size: 2125 byte(s)
Change from float to double for latitude and longitude. Store latitude and longitude as an integer type rather than float (higher precision).
1 | /*************************************** |
2 | $Header: /home/amb/CVS/routino/src/visualiser.h,v 1.2 2009-07-09 17:31:56 amb Exp $ |
3 | |
4 | Header file for visualiser functions. |
5 | |
6 | Part of the Routino routing software. |
7 | ******************/ /****************** |
8 | This file Copyright 2008,2009 Andrew M. Bishop |
9 | |
10 | This program is free software: you can redistribute it and/or modify |
11 | it under the terms of the GNU Affero General Public License as published by |
12 | the Free Software Foundation, either version 3 of the License, or |
13 | (at your option) any later version. |
14 | |
15 | This program is distributed in the hope that it will be useful, |
16 | but WITHOUT ANY WARRANTY; without even the implied warranty of |
17 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
18 | GNU Affero General Public License for more details. |
19 | |
20 | You should have received a copy of the GNU Affero General Public License |
21 | along with this program. If not, see <http://www.gnu.org/licenses/>. |
22 | ***************************************/ |
23 | |
24 | |
25 | #ifndef VISUALISER_H |
26 | #define VISUALISER_H /*+ To stop multiple inclusions. +*/ |
27 | |
28 | #include "types.h" |
29 | |
30 | |
31 | /* In visualiser.c */ |
32 | |
33 | void OutputJunctions(Nodes *nodes,Segments *segments,Ways *ways,double latmin,double latmax,double lonmin,double lonmax); |
34 | |
35 | void OutputSuper(Nodes *nodes,Segments *segments,Ways *ways,double latmin,double latmax,double lonmin,double lonmax); |
36 | |
37 | void OutputOneway(Nodes *nodes,Segments *segments,Ways *ways,double latmin,double latmax,double lonmin,double lonmax); |
38 | |
39 | void OutputSpeedLimits(Nodes *nodes,Segments *segments,Ways *ways,double latmin,double latmax,double lonmin,double lonmax); |
40 | |
41 | void OutputWeightLimits(Nodes *nodes,Segments *segments,Ways *ways,double latmin,double latmax,double lonmin,double lonmax); |
42 | |
43 | void OutputHeightLimits(Nodes *nodes,Segments *segments,Ways *ways,double latmin,double latmax,double lonmin,double lonmax); |
44 | void OutputWidthLimits(Nodes *nodes,Segments *segments,Ways *ways,double latmin,double latmax,double lonmin,double lonmax); |
45 | void OutputLengthLimits(Nodes *nodes,Segments *segments,Ways *ways,double latmin,double latmax,double lonmin,double lonmax); |
46 | |
47 | |
48 | #endif /* VISUALISER_H */ |
Properties
Name | Value |
---|---|
cvs:description | Header file for data visualisation. |