diff 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
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/toolboxes/graph_visualisation/include/graphviz/pathgeom.h	Fri Aug 19 13:07:06 2016 +0200
@@ -0,0 +1,54 @@
+/* $Id: pathgeom.h,v 1.4 2009/06/03 01:10:54 ellson Exp $ $Revision: 1.4 $ */
+/* vim:set shiftwidth=4 ts=8: */
+
+/**********************************************************
+*      This software is part of the graphviz package      *
+*                http://www.graphviz.org/                 *
+*                                                         *
+*            Copyright (c) 1994-2004 AT&T Corp.           *
+*                and is licensed under the                *
+*            Common Public License, Version 1.0           *
+*                      by AT&T Corp.                      *
+*                                                         *
+*        Information and Software Systems Research        *
+*              AT&T Research, Florham Park NJ             *
+**********************************************************/
+
+
+#ifndef _PATHGEOM_INCLUDE
+#define _PATHGEOM_INCLUDE
+
+#ifdef __cplusplus
+extern "C" {
+#endif
+
+#ifdef HAVE_POINTF_S
+    typedef struct pointf_s Ppoint_t;
+    typedef struct pointf_s Pvector_t;
+#else
+    typedef struct Pxy_t {
+	double x, y;
+    } Pxy_t;
+
+    typedef struct Pxy_t Ppoint_t;
+    typedef struct Pxy_t Pvector_t;
+#endif
+
+    typedef struct Ppoly_t {
+	Ppoint_t *ps;
+	int pn;
+    } Ppoly_t;
+
+    typedef Ppoly_t Ppolyline_t;
+
+    typedef struct Pedge_t {
+	Ppoint_t a, b;
+    } Pedge_t;
+
+/* opaque state handle for visibility graph operations */
+    typedef struct vconfig_s vconfig_t;
+
+#ifdef __cplusplus
+}
+#endif
+#endif