/misc/src/release/graphviz-2.18-1/src/graphviz-2.18/lib/pathplan/visibility.c File Reference

#include <vis.h>

Include dependency graph for visibility.c:

Go to the source code of this file.

Defines

#define INTERSECT(a, b, c, d, e)   intersect((a),(b),(c),(d))

Functions

COORD area2 (Ppoint_t a, Ppoint_t b, Ppoint_t c)
int wind (Ppoint_t a, Ppoint_t b, Ppoint_t c)
int inBetween (Ppoint_t a, Ppoint_t b, Ppoint_t c)
int intersect (Ppoint_t a, Ppoint_t b, Ppoint_t c, Ppoint_t d)
COORD dist2 (Ppoint_t a, Ppoint_t b)
void visibility (vconfig_t *conf)
COORDptVis (vconfig_t *conf, int pp, Ppoint_t p)
int directVis (Ppoint_t p, int pp, Ppoint_t q, int qp, vconfig_t *conf)


Define Documentation

#define INTERSECT ( a,
b,
c,
d,
 )     intersect((a),(b),(c),(d))

Definition at line 28 of file visibility.c.

Referenced by directVis().


Function Documentation

COORD area2 ( Ppoint_t  a,
Ppoint_t  b,
Ppoint_t  c 
)

Definition at line 61 of file visibility.c.

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

int directVis ( Ppoint_t  p,
int  pp,
Ppoint_t  q,
int  qp,
vconfig_t conf 
)

Definition at line 405 of file visibility.c.

References INTERSECT, vconfig_s::N, vconfig_s::next, vconfig_s::P, s1(), and vconfig_s::start.

Referenced by makePath().

COORD dist2 ( Ppoint_t  a,
Ppoint_t  b 
)

Definition at line 218 of file visibility.c.

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

Referenced by box_connection().

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

Definition at line 97 of file visibility.c.

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

Referenced by intersect().

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().

COORD* ptVis ( vconfig_t conf,
int  pp,
Ppoint_t  p 
)

Definition at line 344 of file visibility.c.

References dist(), malloc(), vconfig_s::N, vconfig_s::next, vconfig_s::P, POLYID_UNKNOWN, vconfig_s::prev, and vconfig_s::start.

Referenced by Pobspath().

void visibility ( vconfig_t conf  ) 

Definition at line 310 of file visibility.c.

References vconfig_s::N, and vconfig_s::vis.

Referenced by Pobsopen().

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:54 2008 for Graphviz by  doxygen 1.5.1