Graphviz  2.41.20170921.2350
Macros | Functions
visibility.c File Reference
#include "vis.h"
Include dependency graph for visibility.c:

Go to the source code of this file.

Macros

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

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

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

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

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

Referenced by addEdgeLabels(), and box_connection().

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 inBetween(), and wind().

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::N, and vconfig_s::vis.

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

Referenced by in_poly(), and intersect().