Graphviz  2.29.20120524.0446
Defines | Typedefs | Functions
lib/pathplan/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.

Defines

#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)

Define 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::y, and Pxy_t::x.

Ppoly_t copypoly ( Ppoly_t  )

Definition at line 25 of file util.c.

References Ppoly_t::pn, Ppoly_t::ps, and malloc().

COORD dist2 ( Ppoint_t  ,
Ppoint_t   
)

Definition at line 213 of file visibility.c.

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

Referenced by box_connection(), and addEdgeLabels().

void freepoly ( Ppoly_t  )

Definition at line 37 of file util.c.

References free(), and Ppoly_t::ps.

int in_poly ( Ppoly_t  argpoly,
Ppoint_t  q 
)

Definition at line 29 of file inpoly.c.

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

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

Definition at line 153 of file visibility.c.

References wind(), and inBetween().

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

Definition at line 65 of file visibility.c.

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

Referenced by in_poly(), and intersect().