Graphviz
2.41.20171026.1811
|
#include <multispline.h>
#include <delaunay.h>
#include <neatoprocs.h>
#include <math.h>
#include "fPQ.h"
Go to the source code of this file.
Data Structures | |
struct | ipair |
struct | _tri |
struct | tripoly_t |
struct | item |
struct | Ipair |
struct | tnode |
struct | tedge |
struct | tgraph |
struct | router_s |
struct | side_t |
struct | PPQ |
Macros | |
#define | SEP 15 |
#define | MARGIN 32 |
#define | EQPT(p, q) (((p).x==(q).x)&&((p).y==(q).y)) |
#define | NSMALL -0.0000000001 |
#define | PQTYPE int |
#define | PQVTYPE float |
#define | PQ_TYPES |
#define | N_VAL(pq, n) ((PPQ*)pq)->vals[n] |
#define | N_IDX(pq, n) ((PPQ*)pq)->idxs[n] |
#define | PQ_CODE |
#define | N_DAD(n) dad[n] |
#define | E_WT(e) (e->dist) |
#define | UNSEEN -MAXFLOAT |
Typedefs | |
typedef struct _tri | tri |
Functions | |
void | freeRouter (router_t *rtr) |
router_t * | mkRouter (Ppoly_t **obsp, int npoly) |
int | makeMultiSpline (graph_t *g, edge_t *e, router_t *rtr, int doPolyline) |
#define E_WT | ( | e | ) | (e->dist) |
Definition at line 1282 of file multispline.c.
#define EQPT | ( | p, | |
q | |||
) | (((p).x==(q).x)&&((p).y==(q).y)) |
Definition at line 805 of file multispline.c.
#define MARGIN 32 |
Definition at line 446 of file multispline.c.
#define N_DAD | ( | n | ) | dad[n] |
Definition at line 1281 of file multispline.c.
#define N_IDX | ( | pq, | |
n | |||
) | ((PPQ*)pq)->idxs[n] |
Definition at line 1275 of file multispline.c.
#define N_VAL | ( | pq, | |
n | |||
) | ((PPQ*)pq)->vals[n] |
Definition at line 1274 of file multispline.c.
#define NSMALL -0.0000000001 |
Definition at line 972 of file multispline.c.
#define PQ_CODE |
Definition at line 1277 of file multispline.c.
#define PQ_TYPES |
Definition at line 1264 of file multispline.c.
#define PQTYPE int |
Definition at line 1261 of file multispline.c.
Referenced by makeMultiSpline().
#define PQVTYPE float |
Definition at line 1262 of file multispline.c.
Referenced by makeMultiSpline().
#define SEP 15 |
Definition at line 332 of file multispline.c.
#define UNSEEN -MAXFLOAT |
Definition at line 1283 of file multispline.c.
void freeRouter | ( | router_t * | rtr | ) |
Definition at line 638 of file multispline.c.
References dtclose(), router_s::obs, router_s::ps, router_s::tg, router_s::trimap, and router_s::tris.
Definition at line 1341 of file multispline.c.
References aghead(), agtail(), ED_head_port, ED_path, ED_tail_port, PPQ::idxs, N_GNEW, tgraph::nedges, Ppoly_t::pn, PPQ::pq, PQTYPE, PQVTYPE, Ppoly_t::ps, router_s::tg, router_s::tn, and PPQ::vals.
Definition at line 694 of file multispline.c.
References freeSurface(), boxf::LL, mkSurface(), N_GNEW, N_NEW, NEW, surface_t::nfaces, router_s::obs, Ppoly_t::pn, router_s::pn, Ppoly_t::ps, router_s::ps, router_s::tg, router_s::tn, router_s::trimap, router_s::tris, boxf::UR, pointf_s::x, and pointf_s::y.