Graphviz
13.0.0~dev.20241220.2304
Loading...
Searching...
No Matches
pathgeom.h
Go to the documentation of this file.
1
3
/*************************************************************************
4
* Copyright (c) 2011 AT&T Intellectual Property
5
* All rights reserved. This program and the accompanying materials
6
* are made available under the terms of the Eclipse Public License v1.0
7
* which accompanies this distribution, and is available at
8
* https://www.eclipse.org/legal/epl-v10.html
9
*
10
* Contributors: Details at https://graphviz.org
11
*************************************************************************/
12
13
#pragma once
14
15
#include <stddef.h>
16
17
#ifdef __cplusplus
18
extern
"C"
{
19
#endif
20
21
#ifdef GVDLL
22
#ifdef PATHPLAN_EXPORTS
23
#define PATHGEOM_API __declspec(dllexport)
24
#else
25
#define PATHGEOM_API __declspec(dllimport)
26
#endif
27
#endif
28
29
#ifndef PATHGEOM_API
30
#define PATHGEOM_API
/* nothing */
31
#endif
32
33
#ifdef HAVE_POINTF_S
34
typedef
struct
pointf_s
Ppoint_t
;
35
typedef
struct
pointf_s
Pvector_t
;
36
#else
37
typedef
struct
Pxy_t
{
38
double
x
,
y
;
39
}
Pxy_t
;
40
41
typedef
struct
Pxy_t
Ppoint_t
;
42
typedef
struct
Pxy_t
Pvector_t
;
43
#endif
44
45
typedef
struct
Ppoly_t
{
46
Ppoint_t
*
ps
;
47
size_t
pn
;
48
}
Ppoly_t
;
49
50
typedef
Ppoly_t
Ppolyline_t
;
51
52
typedef
struct
Pedge_t
{
53
Ppoint_t
a
,
b
;
54
}
Pedge_t
;
55
56
/* opaque state handle for visibility graph operations */
57
typedef
struct
vconfig_s
vconfig_t
;
58
59
PATHGEOM_API
void
freePath
(
Ppolyline_t
* p);
60
61
#undef PATHGEOM_API
62
63
#ifdef __cplusplus
64
}
65
#endif
Ppolyline_t
Ppoly_t Ppolyline_t
Definition
pathgeom.h:50
freePath
void freePath(Ppolyline_t *p)
Definition
util.c:18
Pedge_t
Definition
pathgeom.h:52
Pedge_t::b
Ppoint_t b
Definition
pathgeom.h:53
Pedge_t::a
Ppoint_t a
Definition
pathgeom.h:53
Ppoly_t
Definition
pathgeom.h:45
Ppoly_t::pn
size_t pn
Definition
pathgeom.h:47
Ppoly_t::ps
Ppoint_t * ps
Definition
pathgeom.h:46
Pxy_t
Definition
pathgeom.h:37
Pxy_t::x
double x
Definition
pathgeom.h:38
Pxy_t::y
double y
Definition
pathgeom.h:38
pointf_s
Definition
geom.h:29
vconfig_s
Definition
vis.h:29
lib
pathplan
pathgeom.h
Generated by
1.9.8