Graphviz 12.1.0~dev.20240716.0947
Loading...
Searching...
No Matches
wrapper.c File Reference
#include <cgraph/alloc.h>
#include <pathplan/pathgeom.h>
#include "Plegal_arrangement.h"
#include <stdio.h>
#include <stdlib.h>
#include "simple.h"
Include dependency graph for wrapper.c:

Go to the source code of this file.

Macros

#define EQ_PT(v, w)   (((v).x == (w).x) && ((v).y == (w).y))
 

Functions

int Plegal_arrangement (Ppoly_t **polys, size_t n_polys)
 

Macro Definition Documentation

◆ EQ_PT

#define EQ_PT (   v,
 
)    (((v).x == (w).x) && ((v).y == (w).y))

Function Documentation

◆ Plegal_arrangement()

int Plegal_arrangement ( Ppoly_t **  polys,
size_t  n_polys 
)

Definition at line 18 of file wrapper.c.

References after, EQ_PT, find_ints(), polygon::finish, intersection::firstv, free(), gv_calloc(), data::ninters, data::nvertices, Ppoly_t::pn, vertex::poly, vertex::pos, Ppoly_t::ps, intersection::secondv, polygon::start, pointf_s::x, Pxy_t::x, position::x, intersection::x, pointf_s::y, Pxy_t::y, and position::y.

Here is the call graph for this function: