Graphviz
2.41.20171026.1811
|
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 | |
pointf * | simpleSplineRoute (pointf tp, pointf hp, Ppoly_t poly, int *n_spl_pts, int polyline) |
int | routesplinesinit () |
void | routesplinesterm () |
pointf * | routesplines (path *pp, int *npoints) |
pointf * | routepolylines (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) |
#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().
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 | ||
) |
Definition at line 962 of file routespl.c.
References addEdgeLabels(), aghead(), agtail(), APPROXEQPT, clip_and_install(), Concentrate, ED_head_port, ED_tail_port, ET_CURVED, ET_PLINE, GD_nodesep, head, LEN, make_polyline(), MILLIPOINT, ND_coord, Ppoly_t::pn, Ppoly_t::ps, Agraph_s::root, pointf_s::x, and pointf_s::y.
Referenced by makeStraightEdge().
Definition at line 658 of file routespl.c.
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.
Definition at line 230 of file routespl.c.
References Pedge_t::a, ALLOC, Pedge_t::b, make_polyline(), NULL, Ppoly_t::pn, Proutespline(), Ppoly_t::ps, Pshortestpath(), Pxy_t::x, pointf_s::x, Pxy_t::y, and pointf_s::y.