Graphviz  2.29.20120524.0446
Defines | Functions
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 25 of file visibility.c.

Referenced by directVis().


Function Documentation

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

Definition at line 56 of file visibility.c.

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

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

Definition at line 400 of file visibility.c.

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

Referenced by makePath().

COORD dist2 ( Ppoint_t  a,
Ppoint_t  b 
)

Definition at line 213 of file visibility.c.

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

Referenced by box_connection(), and addEdgeLabels().

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

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

References wind(), and inBetween().

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

Definition at line 305 of file visibility.c.

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

Referenced by Pobsopen().

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