|
Graphviz 14.0.3~dev.20251104.0241
|
#include <assert.h>#include <limits.h>#include <stdio.h>#include <stdlib.h>#include <math.h>#include <pathplan/pathutil.h>#include <pathplan/solvers.h>Go to the source code of this file.
Data Structures | |
| struct | tna_t |
Macros | |
| #define | EPSILON1 1E-3 |
| #define | EPSILON2 1E-6 |
| #define | DISTSQ(a, b) |
| #define | POINTSIZE sizeof (Ppoint_t) |
Typedefs | |
| typedef struct tna_t | tna_t |
Functions | |
| static int | reallyroutespline (Pedge_t *, size_t, Ppoint_t *, int, Ppoint_t, Ppoint_t) |
| static int | mkspline (Ppoint_t *, int, const tna_t *, Ppoint_t, Ppoint_t, Ppoint_t *, Ppoint_t *, Ppoint_t *, Ppoint_t *) |
| static int | splinefits (Pedge_t *, size_t, Ppoint_t, Pvector_t, Ppoint_t, Pvector_t, Ppoint_t *, int) |
| static int | splineisinside (Pedge_t *, size_t, Ppoint_t *) |
| static int | splineintersectsline (Ppoint_t *, Ppoint_t *, double *) |
| static void | points2coeff (double, double, double, double, double *) |
| static void | addroot (double, double *, int *) |
| static Pvector_t | normv (Pvector_t) |
| static int | growops (size_t) |
| static Ppoint_t | add (Ppoint_t, Ppoint_t) |
| static Ppoint_t | sub (Ppoint_t, Ppoint_t) |
| static double | dist (Ppoint_t, Ppoint_t) |
| static Ppoint_t | scale (Ppoint_t, double) |
| static double | dot (Ppoint_t, Ppoint_t) |
| static double | B0 (double t) |
| static double | B1 (double t) |
| static double | B2 (double t) |
| static double | B3 (double t) |
| static double | B01 (double t) |
| static double | B23 (double t) |
| int | Proutespline (Pedge_t *barriers, size_t n_barriers, Ppolyline_t input_route, Ppoint_t endpoint_slopes[2], Ppolyline_t *output_route) |
| static double | dist_n (Ppoint_t *p, int n) |
Variables | |
| static Ppoint_t * | ops |
| static size_t | opn |
| static size_t | opl |
| #define DISTSQ | ( | a, | |
| b | |||
| ) |
Definition at line 429 of file route.c.
References Pxy_t::x, and Pxy_t::y.
Referenced by eval(), mkspline(), and reallyroutespline().
|
static |
Definition at line 401 of file route.c.
Referenced by splineintersectsline().
|
static |
Definition at line 460 of file route.c.
Referenced by reallyroutespline().
|
static |
Definition at line 483 of file route.c.
Referenced by mkspline().
|
static |
Definition at line 466 of file route.c.
Referenced by reallyroutespline().
|
static |
Definition at line 472 of file route.c.
Referenced by reallyroutespline().
|
static |
Definition at line 489 of file route.c.
Referenced by mkspline().
|
static |
Definition at line 478 of file route.c.
Referenced by reallyroutespline().
Definition at line 441 of file route.c.
References dx, dy, Pxy_t::x, and Pxy_t::y.
Referenced by mkspline(), and reallyroutespline().
|
static |
Definition at line 198 of file route.c.
Referenced by splinefits().
|
static |
Definition at line 419 of file route.c.
References opn, ops, and POINTSIZE.
Referenced by Proutespline(), and splinefits().
Definition at line 407 of file route.c.
References Pxy_t::x, and Pxy_t::y.
Referenced by Proutespline(), and reallyroutespline().
|
static |
Definition at line 392 of file route.c.
Referenced by splineintersectsline().
| int Proutespline | ( | Pedge_t * | barriers, |
| size_t | n_barriers, | ||
| Ppolyline_t | input_route, | ||
| Ppoint_t | endpoint_slopes[2], | ||
| Ppolyline_t * | output_route | ||
| ) |
Definition at line 68 of file route.c.
References growops(), normv(), opl, ops, Ppoly_t::pn, Ppoly_t::ps, and reallyroutespline().
Referenced by genroute(), makeSpline(), routesplines_(), simpleSplineRoute(), and vgpanecmd().
|
static |
Definition at line 95 of file route.c.
References tna_t::a, add(), B0(), B1(), B2(), B3(), dist(), free(), mkspline(), normv(), NULL, reallyroutespline(), scale(), splinefits(), sub, tna_t::t, Pxy_t::x, and Pxy_t::y.
Referenced by Proutespline(), and reallyroutespline().
Definition at line 449 of file route.c.
References Pxy_t::x, and Pxy_t::y.
Referenced by mkspline(), and reallyroutespline().
Definition at line 312 of file route.c.
References addroot(), points2coeff(), solve3(), Pxy_t::x, and Pxy_t::y.
Referenced by splineisinside().
Definition at line 281 of file route.c.
References Pedge_t::a, Pedge_t::b, DISTSQ, EPSILON1, EPSILON2, splineintersectsline(), Pxy_t::x, and Pxy_t::y.
Referenced by splinefits().
|
static |
Definition at line 34 of file route.c.
Referenced by Proutespline(), and splinefits().
|
static |
Definition at line 34 of file route.c.
Referenced by growops(), growops(), and Pobspath().
|
static |
Definition at line 33 of file route.c.
Referenced by growops(), growops(), parseOp(), parseXDotFOn(), Pobspath(), Proutespline(), Pshortestpath(), and splinefits().