Mercurial > hg > camir-ismir2012
comparison toolboxes/graph_visualisation/include/graphviz/pathgeom.h @ 0:cc4b1211e677 tip
initial commit to HG from
Changeset:
646 (e263d8a21543) added further path and more save "camirversion.m"
| author | Daniel Wolff |
|---|---|
| date | Fri, 19 Aug 2016 13:07:06 +0200 |
| parents | |
| children |
comparison
equal
deleted
inserted
replaced
| -1:000000000000 | 0:cc4b1211e677 |
|---|---|
| 1 /* $Id: pathgeom.h,v 1.4 2009/06/03 01:10:54 ellson Exp $ $Revision: 1.4 $ */ | |
| 2 /* vim:set shiftwidth=4 ts=8: */ | |
| 3 | |
| 4 /********************************************************** | |
| 5 * This software is part of the graphviz package * | |
| 6 * http://www.graphviz.org/ * | |
| 7 * * | |
| 8 * Copyright (c) 1994-2004 AT&T Corp. * | |
| 9 * and is licensed under the * | |
| 10 * Common Public License, Version 1.0 * | |
| 11 * by AT&T Corp. * | |
| 12 * * | |
| 13 * Information and Software Systems Research * | |
| 14 * AT&T Research, Florham Park NJ * | |
| 15 **********************************************************/ | |
| 16 | |
| 17 | |
| 18 #ifndef _PATHGEOM_INCLUDE | |
| 19 #define _PATHGEOM_INCLUDE | |
| 20 | |
| 21 #ifdef __cplusplus | |
| 22 extern "C" { | |
| 23 #endif | |
| 24 | |
| 25 #ifdef HAVE_POINTF_S | |
| 26 typedef struct pointf_s Ppoint_t; | |
| 27 typedef struct pointf_s Pvector_t; | |
| 28 #else | |
| 29 typedef struct Pxy_t { | |
| 30 double x, y; | |
| 31 } Pxy_t; | |
| 32 | |
| 33 typedef struct Pxy_t Ppoint_t; | |
| 34 typedef struct Pxy_t Pvector_t; | |
| 35 #endif | |
| 36 | |
| 37 typedef struct Ppoly_t { | |
| 38 Ppoint_t *ps; | |
| 39 int pn; | |
| 40 } Ppoly_t; | |
| 41 | |
| 42 typedef Ppoly_t Ppolyline_t; | |
| 43 | |
| 44 typedef struct Pedge_t { | |
| 45 Ppoint_t a, b; | |
| 46 } Pedge_t; | |
| 47 | |
| 48 /* opaque state handle for visibility graph operations */ | |
| 49 typedef struct vconfig_s vconfig_t; | |
| 50 | |
| 51 #ifdef __cplusplus | |
| 52 } | |
| 53 #endif | |
| 54 #endif |
