Graphviz
2.41.20171026.1811
Main Page
Data Structures
Files
File List
Globals
lib
pathplan
pathgeom.h
Go to the documentation of this file.
1
/* $Id$ $Revision$ */
2
/* vim:set shiftwidth=4 ts=8: */
3
4
/*************************************************************************
5
* Copyright (c) 2011 AT&T Intellectual Property
6
* All rights reserved. This program and the accompanying materials
7
* are made available under the terms of the Eclipse Public License v1.0
8
* which accompanies this distribution, and is available at
9
* http://www.eclipse.org/legal/epl-v10.html
10
*
11
* Contributors: See CVS logs. Details at http://www.graphviz.org/
12
*************************************************************************/
13
14
15
#ifndef _PATHGEOM_INCLUDE
16
#define _PATHGEOM_INCLUDE
17
18
#ifdef __cplusplus
19
extern
"C"
{
20
#endif
21
22
#ifdef HAVE_POINTF_S
23
typedef
struct
pointf_s
Ppoint_t
;
24
typedef
struct
pointf_s
Pvector_t
;
25
#else
26
typedef
struct
Pxy_t
{
27
double
x
,
y
;
28
}
Pxy_t
;
29
30
typedef
struct
Pxy_t
Ppoint_t
;
31
typedef
struct
Pxy_t
Pvector_t
;
32
#endif
33
34
typedef
struct
Ppoly_t
{
35
Ppoint_t
*
ps
;
36
int
pn
;
37
}
Ppoly_t
;
38
39
typedef
Ppoly_t
Ppolyline_t
;
40
41
typedef
struct
Pedge_t
{
42
Ppoint_t
a
,
b
;
43
}
Pedge_t
;
44
45
/* opaque state handle for visibility graph operations */
46
typedef
struct
vconfig_s
vconfig_t
;
47
48
void
freePath
(Ppolyline_t* p);
49
#ifdef __cplusplus
50
}
51
#endif
52
#endif
Ppoly_t::pn
int pn
Definition:
pathgeom.h:36
Pxy_t::x
double x
Definition:
pathgeom.h:27
pointf_s
Definition:
geom.h:28
Ppolyline_t
Ppoly_t Ppolyline_t
Definition:
pathgeom.h:39
Pedge_t::b
Ppoint_t b
Definition:
pathgeom.h:42
Ppoly_t
struct Ppoly_t Ppoly_t
Pedge_t
Definition:
pathgeom.h:41
Pxy_t
struct Pxy_t Pxy_t
Ppoly_t::ps
Ppoint_t * ps
Definition:
pathgeom.h:35
Pedge_t::a
Ppoint_t a
Definition:
pathgeom.h:42
freePath
void freePath(Ppolyline_t *p)
Definition:
util.c:37
Pxy_t
Definition:
pathgeom.h:26
Pxy_t::y
double y
Definition:
pathgeom.h:27
Pedge_t
struct Pedge_t Pedge_t
vconfig_s
Definition:
vis.h:38
Ppoly_t
Definition:
pathgeom.h:34
Generated by
1.8.5