|
Graphviz 14.0.3~dev.20251028.0232
|
#include <assert.h>#include <math.h>#include <stdbool.h>#include <stdlib.h>#include <limits.h>#include "vispath.h"#include "pathutil.h"Go to the source code of this file.
Data Structures | |
| struct | vconfig_s |
Macros | |
| #define | EQ(p, q) ((p.x == q.x) && (p.y == q.y)) |
| #define | VIS_API /* nothing */ |
Typedefs | |
| typedef COORD ** | array2 |
Functions | |
| VIS_API COORD * | ptVis (vconfig_t *, int, Ppoint_t) |
| VIS_API bool | directVis (Ppoint_t, int, Ppoint_t, int, vconfig_t *) |
| VIS_API void | visibility (vconfig_t *) |
| VIS_API int * | makePath (Ppoint_t p, int pp, COORD *pvis, Ppoint_t q, int qp, COORD *qvis, vconfig_t *conf) |
Definition at line 304 of file visibility.c.
References intersect(), vconfig_s::N, vconfig_s::next, vconfig_s::P, s1(), vconfig_s::start, and V.
Referenced by makePath().
| VIS_API int * makePath | ( | Ppoint_t | p, |
| int | pp, | ||
| COORD * | pvis, | ||
| Ppoint_t | q, | ||
| int | qp, | ||
| COORD * | qvis, | ||
| vconfig_t * | conf | ||
| ) |
Definition at line 91 of file shortestpth.c.
References directVis(), gv_calloc(), vconfig_s::N, shortestPath(), V, and vconfig_s::vis.
Definition at line 245 of file visibility.c.
References clear(), dist(), gv_calloc(), in_cone(), vconfig_s::N, vconfig_s::next, vconfig_s::P, polyhit(), POLYID_UNKNOWN, vconfig_s::prev, vconfig_s::start, and V.
Referenced by Pobspath().
Definition at line 211 of file visibility.c.
References allocArray(), compVis(), vconfig_s::N, and vconfig_s::vis.
Referenced by Pobsopen(), and set_visibility().