#include "neato.h"
#include "pathutil.h"
#include <setjmp.h>
Go to the source code of this file.
Define Documentation
| #define after |
( |
|
v | ) |
(((v)==((v)->poly->finish))?((v)->poly->start):((v)+1)) |
| #define EQ_PT |
( |
|
v, |
|
|
|
w |
|
) |
| (((v).x == (w).x) && ((v).y == (w).y)) |
| #define INBOX |
( |
|
p, |
|
|
|
bb |
|
) |
| ((p.x <= bb.UR.x) && (p.x >= bb.LL.x) && (p.y <= bb.UR.y) && (p.y >= bb.LL.y)) |
| #define NESTED |
( |
|
a, |
|
|
|
b |
|
) |
| (INBOX(a.LL,b) && INBOX(a.UR,b)) |
| #define prior |
( |
|
v | ) |
(((v)==((v)->poly->start))?((v)->poly->finish):((v)-1)) |
| #define SLOPE |
( |
|
p, |
|
|
|
q |
|
) |
| ( ( ( p.y ) - ( q.y ) ) / ( ( p.x ) - ( q.x ) ) ) |
Typedef Documentation
Function Documentation
| int Plegal_arrangement |
( |
Ppoly_t ** |
polys, |
|
|
int |
n_polys |
|
) |
| |
Definition at line 412 of file legal.c.
References MAXINTS, N_GNEW, polygon::start, boxf::LL, pointf_s::x, pointf_s::y, MAXDOUBLE, boxf::UR, Ppoly_t::pn, Ppoly_t::ps, Pxy_t::x, Pxy_t::y, MIN, MAX, vertex::pos, vertex::poly, vertex::active, polygon::finish, polygon::bb, data::nvertices, data::npolygons, and free().
Referenced by compoundEdges().