Graphviz  2.41.20170921.2350
Macros | Functions
routespl.c File Reference
#include "config.h"
#include "render.h"
#include "pathplan.h"
#include <setjmp.h>
Include dependency graph for routespl.c:

Go to the source code of this file.

Macros

#define PINC   300
 
#define FUDGE   .0001
 
#define INIT_DELTA   10
 
#define LOOP_TRIES   15 /* number of times to try to limiting boxes to regain space, using smaller divisions */
 
#define MAX_EDGE   20
 

Functions

pointfsimpleSplineRoute (pointf tp, pointf hp, Ppoly_t poly, int *n_spl_pts, int polyline)
 
int routesplinesinit ()
 
void routesplinesterm ()
 
pointfroutesplines (path *pp, int *npoints)
 
pointfroutepolylines (path *pp, int *npoints)
 
void makeStraightEdge (graph_t *g, edge_t *e, int et, splineInfo *sinfo)
 
void makeStraightEdges (graph_t *g, edge_t **edges, int e_cnt, int et, splineInfo *sinfo)
 

Macro Definition Documentation

#define FUDGE   .0001
#define INIT_DELTA   10

Definition at line 368 of file routespl.c.

#define LOOP_TRIES   15 /* number of times to try to limiting boxes to regain space, using smaller divisions */

Definition at line 369 of file routespl.c.

#define MAX_EDGE   20

Definition at line 934 of file routespl.c.

Referenced by makeStraightEdge().

#define PINC   300

Definition at line 27 of file routespl.c.

Referenced by routesplinesinit().

Function Documentation

void makeStraightEdge ( graph_t g,
edge_t e,
int  et,
splineInfo sinfo 
)

Definition at line 936 of file routespl.c.

References ED_to_virt, makeStraightEdges(), MAX_EDGE, and N_NEW.

void makeStraightEdges ( graph_t g,
edge_t **  edges,
int  e_cnt,
int  et,
splineInfo sinfo 
)
pointf* routepolylines ( path pp,
int npoints 
)

Definition at line 658 of file routespl.c.

pointf* routesplines ( path pp,
int npoints 
)

Definition at line 653 of file routespl.c.

int routesplinesinit ( void  )

Definition at line 288 of file routespl.c.

References agerr(), AGERR, N_GNEW, NULL, PINC, Show_boxes, Show_cnt, start_timer(), and Verbose.

void routesplinesterm ( void  )

Definition at line 313 of file routespl.c.

References elapsed_sec(), NULL, and Verbose.

pointf* simpleSplineRoute ( pointf  tp,
pointf  hp,
Ppoly_t  poly,
int n_spl_pts,
int  polyline 
)