Graphviz 12.0.1~dev.20240716.0800
Loading...
Searching...
No Matches
util.c File Reference
#include <assert.h>
#include <cgraph/alloc.h>
#include <limits.h>
#include <stdlib.h>
#include <pathplan/pathutil.h>
Include dependency graph for util.c:

Go to the source code of this file.

Functions

void freePath (Ppolyline_t *p)
 
int Ppolybarriers (Ppoly_t **polys, int npolys, Pedge_t **barriers, int *n_barriers)
 
void make_polyline (Ppolyline_t line, Ppolyline_t *sline)
 

Function Documentation

◆ freePath()

void freePath ( Ppolyline_t p)

Definition at line 18 of file util.c.

References free(), and Ppoly_t::ps.

Referenced by wedgedEllipse().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ make_polyline()

void make_polyline ( Ppolyline_t  line,
Ppolyline_t sline 
)

Definition at line 59 of file util.c.

References gv_recalloc(), Ppoly_t::pn, and Ppoly_t::ps.

Referenced by genroute(), makePolyline(), makeStraightEdges(), routesplines_(), and simpleSplineRoute().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ Ppolybarriers()

int Ppolybarriers ( Ppoly_t **  polys,
int  npolys,
Pedge_t **  barriers,
int *  n_barriers 
)

Definition at line 24 of file util.c.

References Pedge_t::a, Pedge_t::b, gv_calloc(), Ppoly_t::pn, and Ppoly_t::ps.

Here is the call graph for this function: