/misc/src/release/graphviz-2.18-1/src/graphviz-2.18/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 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 FALSE   0

Definition at line 31 of file pathutil.h.

#define NOT (  )     (!(x))

Definition at line 28 of file pathutil.h.

#define TRUE   (NOT(FALSE))

Definition at line 32 of file pathutil.h.


Typedef Documentation

typedef double COORD

Definition at line 35 of file pathutil.h.


Function Documentation

COORD area2 ( Ppoint_t  ,
Ppoint_t  ,
Ppoint_t   
)

Definition at line 61 of file visibility.c.

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

Ppoly_t copypoly ( Ppoly_t   ) 

Definition at line 28 of file util.c.

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

COORD dist2 ( Ppoint_t  ,
Ppoint_t   
)

Definition at line 218 of file visibility.c.

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

Referenced by box_connection().

void freepoly ( Ppoly_t   ) 

Definition at line 40 of file util.c.

References free(), and Ppoly_t::ps.

int in_poly ( Ppoly_t  argpoly,
Ppoint_t  q 
)

Definition at line 32 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 158 of file visibility.c.

References inBetween(), and wind().

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

Definition at line 70 of file visibility.c.

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

Referenced by in_poly(), and intersect().


Generated on Mon Mar 31 19:07:46 2008 for Graphviz by  doxygen 1.5.1