~ubuntu-branches/ubuntu/precise/grass/precise

« back to all changes in this revision

Viewing changes to include/Vect.h

  • Committer: Bazaar Package Importer
  • Author(s): Francesco Paolo Lovergine
  • Date: 2011-04-13 17:08:41 UTC
  • mfrom: (8.1.7 sid)
  • Revision ID: james.westby@ubuntu.com-20110413170841-ss1t9bic0d0uq0gz
Tags: 6.4.1-1
* New upstream version.
* Now build-dep on libjpeg-dev and current libreadline6-dev.
* Removed patch swig: obsolete.
* Policy bumped to 3.9.2, without changes.

Show diffs side-by-side

added added

removed removed

Lines of Context:
3
3
#include <grass/gis.h>
4
4
#include <grass/vect/digit.h>
5
5
 
 
6
#ifdef HAVE_GEOS
 
7
#include <geos_c.h>
 
8
#if GEOS_VERSION_MAJOR < 3
 
9
typedef struct GEOSGeom_t GEOSGeometry;
 
10
typedef struct GEOSCoordSeq_t GEOSCoordSequence;
 
11
#endif
 
12
#endif
 
13
 
6
14
/* --- ANSI prototypes for the lib/vector/Vlib functions --- */
7
15
 
8
16
/*
313
321
void Vect_break_lines(struct Map_info *, int, struct Map_info *);
314
322
int Vect_break_lines_list(struct Map_info *, struct ilist *, struct ilist *,
315
323
                          int, struct Map_info *);
 
324
int Vect_merge_lines(struct Map_info *, int, int *, struct Map_info *);
316
325
void Vect_break_polygons(struct Map_info *, int, struct Map_info *);
317
326
void Vect_remove_duplicates(struct Map_info *, int, struct Map_info *);
318
327
int Vect_line_check_duplicate(const struct line_pnts *,
465
474
int Vect_attach_isles(struct Map_info *, BOUND_BOX *);
466
475
int Vect_attach_centroids(struct Map_info *, BOUND_BOX *);
467
476
 
 
477
    /* GEOS support */
 
478
#ifdef HAVE_GEOS
 
479
GEOSGeometry *Vect_read_line_geos(struct Map_info *, int, int*);
 
480
GEOSGeometry *Vect_line_to_geos(struct Map_info *, const struct line_pnts*, int);
 
481
GEOSGeometry *Vect_read_area_geos(struct Map_info *, int);
 
482
GEOSCoordSequence *Vect_get_area_points_geos(struct Map_info *, int);
 
483
GEOSCoordSequence *Vect_get_isle_points_geos(struct Map_info *, int);
 
484
#endif
 
485
 
468
486
#endif /* GRASS_VECT_H */