Graphviz 13.0.0~dev.20241222.1117
Loading...
Searching...
No Matches
wrapper.c File Reference
#include <pathplan/pathgeom.h>
#include "Plegal_arrangement.h"
#include <stdio.h>
#include <stdlib.h>
#include "simple.h"
#include <util/alloc.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: