Graphviz 14.1.3~dev.20260207.0611
Loading...
Searching...
No Matches
util.c File Reference
#include "config.h"
#include <assert.h>
#include <limits.h>
#include <pathplan/pathutil.h>
#include <stdlib.h>
#include <util/list.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 19 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 44 of file util.c.

References LIST, LIST_APPEND, LIST_CLEAR, LIST_FRONT, LIST_SIZE, Ppoly_t::pn, and Ppoly_t::ps.

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

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 LIST, LIST_APPEND, LIST_DETACH, Ppoly_t::pn, and Ppoly_t::ps.