Graphviz  2.41.20170921.2350
Macros | Typedefs | Functions
pathutil.h File Reference
#include "pathplan.h"
Include dependency graph for pathutil.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define _BLD_pathplan   1
 
#define NOT(x)   (!(x))
 
#define FALSE   0
 
#define TRUE   (NOT(FALSE))
 

Typedefs

typedef double COORD
 

Functions

COORD area2 (Ppoint_t, Ppoint_t, Ppoint_t)
 
int wind (Ppoint_t a, Ppoint_t b, Ppoint_t c)
 
COORD dist2 (Ppoint_t, Ppoint_t)
 
int intersect (Ppoint_t a, Ppoint_t b, Ppoint_t c, Ppoint_t d)
 
int in_poly (Ppoly_t argpoly, Ppoint_t q)
 
Ppoly_t copypoly (Ppoly_t)
 
void freepoly (Ppoly_t)
 

Macro Definition Documentation

#define _BLD_pathplan   1

Definition at line 18 of file pathutil.h.

#define FALSE   0

Definition at line 30 of file pathutil.h.

#define NOT (   x)    (!(x))

Definition at line 27 of file pathutil.h.

#define TRUE   (NOT(FALSE))

Definition at line 31 of file pathutil.h.

Typedef Documentation

typedef double COORD

Definition at line 41 of file pathutil.h.

Function Documentation

COORD area2 ( Ppoint_t  ,
Ppoint_t  ,
Ppoint_t   
)

Definition at line 56 of file visibility.c.

References Pxy_t::x, and Pxy_t::y.

Ppoly_t copypoly ( Ppoly_t  )

Definition at line 25 of file util.c.

References Ppoly_t::pn, and Ppoly_t::ps.

COORD dist2 ( Ppoint_t  ,
Ppoint_t   
)

Definition at line 213 of file visibility.c.

References Pxy_t::x, and Pxy_t::y.

Referenced by addEdgeLabels(), and box_connection().

void freepoly ( Ppoly_t  )

Definition at line 43 of file util.c.

References Ppoly_t::ps.

int in_poly ( Ppoly_t  argpoly,
Ppoint_t  q 
)

Definition at line 29 of file inpoly.c.

References FALSE, Ppoly_t::pn, Ppoly_t::ps, TRUE, and wind().

int intersect ( Ppoint_t  a,
Ppoint_t  b,
Ppoint_t  c,
Ppoint_t  d 
)

Definition at line 153 of file visibility.c.

References inBetween(), and wind().

int wind ( Ppoint_t  a,
Ppoint_t  b,
Ppoint_t  c 
)

Definition at line 65 of file visibility.c.

References Pxy_t::x, and Pxy_t::y.

Referenced by in_poly(), and intersect().