Graphviz  2.41.20171026.1811
Data Structures | Macros | Typedefs | Functions
multispline.c File Reference
#include <multispline.h>
#include <delaunay.h>
#include <neatoprocs.h>
#include <math.h>
#include "fPQ.h"
Include dependency graph for multispline.c:

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_tmkRouter (Ppoly_t **obsp, int npoly)
 
int makeMultiSpline (graph_t *g, edge_t *e, router_t *rtr, int doPolyline)
 

Macro Definition Documentation

#define E_WT (   e)    (e->dist)

Definition at line 1282 of file multispline.c.

#define EQPT (   p,
 
)    (((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,
 
)    ((PPQ*)pq)->idxs[n]

Definition at line 1275 of file multispline.c.

#define N_VAL (   pq,
 
)    ((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.

Typedef Documentation

typedef struct _tri tri

Function Documentation

void freeRouter ( router_t rtr)
int makeMultiSpline ( graph_t g,
edge_t e,
router_t rtr,
int  doPolyline 
)
router_t* mkRouter ( Ppoly_t **  obsp,
int  npoly 
)