GRASS Programmer's Manual  6.4.2(2012)
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 (struct line_pnts *Points)

Function Documentation

struct planar_graph* pg_create_struct ( int  n,
int  e 
) [read]
int pg_existsedge ( struct planar_graph pg,
int  v1,
int  v2 
)

Definition at line 373 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().

 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines