~ubuntu-branches/ubuntu/vivid/grass/vivid-proposed

« back to all changes in this revision

Viewing changes to visualization/nviz/src/pg.h

  • Committer: Package Import Robot
  • Author(s): Bas Couwenberg
  • Date: 2015-02-20 23:12:08 UTC
  • mfrom: (8.2.6 experimental)
  • Revision ID: package-import@ubuntu.com-20150220231208-1u6qvqm84v430b10
Tags: 7.0.0-1~exp1
* New upstream release.
* Update python-ctypes-ternary.patch to use if/else instead of and/or.
* Drop check4dev patch, rely on upstream check.
* Add build dependency on libpq-dev to grass-dev for libpq-fe.h.
* Drop patches applied upstream, refresh remaining patches.
* Update symlinks for images switched from jpg to png.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
#include <grass/Vect.h>
2
 
#define QRY_LENGTH 1024
3
 
 
4
 
struct Sql
5
 
{
6
 
    double centX;               /* x coordinate                     */
7
 
    double centY;               /* y coordinate                     */
8
 
    double permX;               /* permiter easting                 */
9
 
    double permY;               /* perimeter north                  */
10
 
    double rad2;
11
 
    double distance;
12
 
    double maxY;                /* northing                         */
13
 
    double minY;                /* south                            */
14
 
    double minX;                /* west                             */
15
 
    double maxX;                /* east                             */
16
 
};
17
 
 
18
 
char *buildPg(char *, char *, int);
19
 
char *buildPgSite(char *, char *, char *);
20
 
char *runPg(char *);
21
 
char *do_query(char *, struct Sql *);
22
 
char *getCat(struct Map_info *, float, float, int *);
23
 
int fillSQLstruct(struct Sql *, float, float, int);