Graphviz 12.0.1~dev.20240716.0800
Loading...
Searching...
No Matches
poly.h
Go to the documentation of this file.
1/*************************************************************************
2 * Copyright (c) 2011 AT&T Intellectual Property
3 * All rights reserved. This program and the accompanying materials
4 * are made available under the terms of the Eclipse Public License v1.0
5 * which accompanies this distribution, and is available at
6 * https://www.eclipse.org/legal/epl-v10.html
7 *
8 * Contributors: Details at https://graphviz.org
9 *************************************************************************/
10
11#pragma once
12
13#ifdef __cplusplus
14extern "C" {
15#endif
16
17#include <neatogen/geometry.h>
18
19 typedef struct {
22 int nverts;
24 int kind;
25 } Poly;
26
27 extern void polyFree(void);
28 extern int polyOverlap(Point, Poly *, Point, Poly *);
29int makePoly(Poly *, Agnode_t *, double, double);
30int makeAddPoly(Poly *, Agnode_t *, double, double);
31 extern void breakPoly(Poly *);
32
33#ifdef __cplusplus
34}
35#endif
void breakPoly(Poly *)
Definition poly.c:44
int makePoly(Poly *, Agnode_t *, double, double)
Definition poly.c:218
int polyOverlap(Point, Poly *, Point, Poly *)
Definition poly.c:438
void polyFree(void)
Definition poly.c:33
int makeAddPoly(Poly *, Agnode_t *, double, double)
Definition poly.c:128
Definition poly.h:19
Point corner
Definition poly.h:21
int nverts
Definition poly.h:22
Point * verts
Definition poly.h:23
int kind
Definition poly.h:24
Point origin
Definition poly.h:20