Graphviz 14.1.2~dev.20260104.2039
Loading...
Searching...
No Matches
wrapper.c File Reference
#include "Plegal_arrangement.h"
#include "simple.h"
#include <pathplan/pathgeom.h>
#include <stdbool.h>
#include <stdio.h>
#include <stdlib.h>
#include <util/alloc.h>
#include <util/gv_math.h>
#include <util/list.h>
#include <util/prisize_t.h>
Include dependency graph for wrapper.c:

Go to the source code of this file.

Functions

static bool eq_pt (const struct position v, const struct intersection w)
 
int Plegal_arrangement (Ppoly_t **polys, size_t n_polys)
 

Function Documentation

◆ eq_pt()

static bool eq_pt ( const struct position  v,
const struct intersection  w 
)
static

Definition at line 22 of file wrapper.c.

References is_exactly_equal(), position::x, intersection::x, position::y, and intersection::y.

Referenced by Plegal_arrangement().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ Plegal_arrangement()

int Plegal_arrangement ( Ppoly_t **  polys,
size_t  n_polys 
)

Definition at line 26 of file wrapper.c.

References after, eq_pt(), find_ints(), polygon::finish, intersection::firstv, free(), gv_calloc(), is_exactly_equal(), LIST_FREE, LIST_GET, LIST_SIZE, Ppoly_t::pn, vertex::poly, vertex::pos, PRISIZE_T, Ppoly_t::ps, intersection::secondv, polygon::start, pointf_s::x, Pxy_t::x, position::x, intersection::x, pointf_s::y, Pxy_t::y, and intersection::y.

Here is the call graph for this function: