GRASS GIS 8 Programmer's Manual  8.5.0dev(2024)-d6dec75dd4
vedit.h File Reference
#include <grass/gis.h>
#include <grass/vector.h>
#include <grass/defs/vedit.h>
Include dependency graph for vedit.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  rpoint
 
struct  robject
 
struct  robject_list
 

Macros

#define NO_SNAP   0 /* snapping disabled */
 
#define SNAP   1 /* snapping enabled for nodes */
 
#define SNAPVERTEX   2 /* snapping enabled for vertex also */
 
#define QUERY_UNKNOWN   -1
 
#define QUERY_LENGTH   0 /* select by line length */
 
#define QUERY_DANGLE   1 /* select dangles */
 
#define TYPE_POINT   0x01
 
#define TYPE_LINE   0x02
 
#define TYPE_BOUNDARYNO   0x04
 
#define TYPE_BOUNDARYTWO   0x08
 
#define TYPE_BOUNDARYONE   0x10
 
#define TYPE_CENTROIDIN   0x20
 
#define TYPE_CENTROIDOUT   0x40
 
#define TYPE_CENTROIDDUP   0x80
 
#define TYPE_NODEONE   0x100
 
#define TYPE_NODETWO   0x200
 
#define TYPE_VERTEX   0x400
 
#define TYPE_AREA   0x800
 
#define TYPE_ISLE   0x1000
 
#define TYPE_DIRECTION   0x2000
 
#define DRAW_POINT   0x01
 
#define DRAW_LINE   0x02
 
#define DRAW_BOUNDARYNO   0x04
 
#define DRAW_BOUNDARYTWO   0x08
 
#define DRAW_BOUNDARYONE   0x10
 
#define DRAW_CENTROIDIN   0x20
 
#define DRAW_CENTROIDOUT   0x40
 
#define DRAW_CENTROIDDUP   0x80
 
#define DRAW_NODEONE   0x100
 
#define DRAW_NODETWO   0x200
 
#define DRAW_VERTEX   0x400
 
#define DRAW_AREA   0x800
 
#define DRAW_DIRECTION   0x1000
 

Macro Definition Documentation

◆ DRAW_AREA

#define DRAW_AREA   0x800

Definition at line 42 of file vedit.h.

◆ DRAW_BOUNDARYNO

#define DRAW_BOUNDARYNO   0x04

Definition at line 33 of file vedit.h.

◆ DRAW_BOUNDARYONE

#define DRAW_BOUNDARYONE   0x10

Definition at line 35 of file vedit.h.

◆ DRAW_BOUNDARYTWO

#define DRAW_BOUNDARYTWO   0x08

Definition at line 34 of file vedit.h.

◆ DRAW_CENTROIDDUP

#define DRAW_CENTROIDDUP   0x80

Definition at line 38 of file vedit.h.

◆ DRAW_CENTROIDIN

#define DRAW_CENTROIDIN   0x20

Definition at line 36 of file vedit.h.

◆ DRAW_CENTROIDOUT

#define DRAW_CENTROIDOUT   0x40

Definition at line 37 of file vedit.h.

◆ DRAW_DIRECTION

#define DRAW_DIRECTION   0x1000

Definition at line 43 of file vedit.h.

◆ DRAW_LINE

#define DRAW_LINE   0x02

Definition at line 32 of file vedit.h.

◆ DRAW_NODEONE

#define DRAW_NODEONE   0x100

Definition at line 39 of file vedit.h.

◆ DRAW_NODETWO

#define DRAW_NODETWO   0x200

Definition at line 40 of file vedit.h.

◆ DRAW_POINT

#define DRAW_POINT   0x01

Definition at line 31 of file vedit.h.

◆ DRAW_VERTEX

#define DRAW_VERTEX   0x400

Definition at line 41 of file vedit.h.

◆ NO_SNAP

#define NO_SNAP   0 /* snapping disabled */

Definition at line 7 of file vedit.h.

◆ QUERY_DANGLE

#define QUERY_DANGLE   1 /* select dangles */

Definition at line 13 of file vedit.h.

◆ QUERY_LENGTH

#define QUERY_LENGTH   0 /* select by line length */

Definition at line 12 of file vedit.h.

◆ QUERY_UNKNOWN

#define QUERY_UNKNOWN   -1

Definition at line 11 of file vedit.h.

◆ SNAP

#define SNAP   1 /* snapping enabled for nodes */

Definition at line 8 of file vedit.h.

◆ SNAPVERTEX

#define SNAPVERTEX   2 /* snapping enabled for vertex also */

Definition at line 9 of file vedit.h.

◆ TYPE_AREA

#define TYPE_AREA   0x800

Definition at line 27 of file vedit.h.

◆ TYPE_BOUNDARYNO

#define TYPE_BOUNDARYNO   0x04

Definition at line 18 of file vedit.h.

◆ TYPE_BOUNDARYONE

#define TYPE_BOUNDARYONE   0x10

Definition at line 20 of file vedit.h.

◆ TYPE_BOUNDARYTWO

#define TYPE_BOUNDARYTWO   0x08

Definition at line 19 of file vedit.h.

◆ TYPE_CENTROIDDUP

#define TYPE_CENTROIDDUP   0x80

Definition at line 23 of file vedit.h.

◆ TYPE_CENTROIDIN

#define TYPE_CENTROIDIN   0x20

Definition at line 21 of file vedit.h.

◆ TYPE_CENTROIDOUT

#define TYPE_CENTROIDOUT   0x40

Definition at line 22 of file vedit.h.

◆ TYPE_DIRECTION

#define TYPE_DIRECTION   0x2000

Definition at line 29 of file vedit.h.

◆ TYPE_ISLE

#define TYPE_ISLE   0x1000

Definition at line 28 of file vedit.h.

◆ TYPE_LINE

#define TYPE_LINE   0x02

Definition at line 17 of file vedit.h.

◆ TYPE_NODEONE

#define TYPE_NODEONE   0x100

Definition at line 24 of file vedit.h.

◆ TYPE_NODETWO

#define TYPE_NODETWO   0x200

Definition at line 25 of file vedit.h.

◆ TYPE_POINT

#define TYPE_POINT   0x01

Definition at line 16 of file vedit.h.

◆ TYPE_VERTEX

#define TYPE_VERTEX   0x400

Definition at line 26 of file vedit.h.