GRASS GIS 7 Programmer's Manual  7.5.svn(2017)-r71917
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
dgraph.h File Reference
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  pg_edge
 
struct  pg_vertex
 
struct  planar_graph
 

Functions

struct planar_graphpg_create_struct (int n, int e)
 
void pg_destroy_struct (struct planar_graph *pg)
 
int pg_existsedge (struct planar_graph *pg, int v1, int v2)
 
void pg_addedge (struct planar_graph *pg, int v1, int v2)
 
struct planar_graphpg_create (const struct line_pnts *Points)
 

Function Documentation

struct planar_graph* pg_create_struct ( int  n,
int  e 
)
void pg_destroy_struct ( struct planar_graph pg)
int pg_existsedge ( struct planar_graph pg,
int  v1,
int  v2 
)

Definition at line 382 of file dgraph.c.

References pg_vertex::ecount, pg_vertex::edges, planar_graph::v, pg_edge::v1, and pg_edge::v2.

Referenced by pg_addedge().