annotate 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
rev   line source
Daniel@0 1 /* $Id: pathgeom.h,v 1.4 2009/06/03 01:10:54 ellson Exp $ $Revision: 1.4 $ */
Daniel@0 2 /* vim:set shiftwidth=4 ts=8: */
Daniel@0 3
Daniel@0 4 /**********************************************************
Daniel@0 5 * This software is part of the graphviz package *
Daniel@0 6 * http://www.graphviz.org/ *
Daniel@0 7 * *
Daniel@0 8 * Copyright (c) 1994-2004 AT&T Corp. *
Daniel@0 9 * and is licensed under the *
Daniel@0 10 * Common Public License, Version 1.0 *
Daniel@0 11 * by AT&T Corp. *
Daniel@0 12 * *
Daniel@0 13 * Information and Software Systems Research *
Daniel@0 14 * AT&T Research, Florham Park NJ *
Daniel@0 15 **********************************************************/
Daniel@0 16
Daniel@0 17
Daniel@0 18 #ifndef _PATHGEOM_INCLUDE
Daniel@0 19 #define _PATHGEOM_INCLUDE
Daniel@0 20
Daniel@0 21 #ifdef __cplusplus
Daniel@0 22 extern "C" {
Daniel@0 23 #endif
Daniel@0 24
Daniel@0 25 #ifdef HAVE_POINTF_S
Daniel@0 26 typedef struct pointf_s Ppoint_t;
Daniel@0 27 typedef struct pointf_s Pvector_t;
Daniel@0 28 #else
Daniel@0 29 typedef struct Pxy_t {
Daniel@0 30 double x, y;
Daniel@0 31 } Pxy_t;
Daniel@0 32
Daniel@0 33 typedef struct Pxy_t Ppoint_t;
Daniel@0 34 typedef struct Pxy_t Pvector_t;
Daniel@0 35 #endif
Daniel@0 36
Daniel@0 37 typedef struct Ppoly_t {
Daniel@0 38 Ppoint_t *ps;
Daniel@0 39 int pn;
Daniel@0 40 } Ppoly_t;
Daniel@0 41
Daniel@0 42 typedef Ppoly_t Ppolyline_t;
Daniel@0 43
Daniel@0 44 typedef struct Pedge_t {
Daniel@0 45 Ppoint_t a, b;
Daniel@0 46 } Pedge_t;
Daniel@0 47
Daniel@0 48 /* opaque state handle for visibility graph operations */
Daniel@0 49 typedef struct vconfig_s vconfig_t;
Daniel@0 50
Daniel@0 51 #ifdef __cplusplus
Daniel@0 52 }
Daniel@0 53 #endif
Daniel@0 54 #endif