/misc/src/release/graphviz-2.18-1/src/graphviz-2.18/lib/pathplan/pathgeom.h

Go to the documentation of this file.
00001 /* $Id: pathgeom.h,v 1.2 2005/10/18 18:30:23 ellson Exp $ $Revision: 1.2 $ */
00002 /* vim:set shiftwidth=4 ts=8: */
00003 
00004 /**********************************************************
00005 *      This software is part of the graphviz package      *
00006 *                http://www.graphviz.org/                 *
00007 *                                                         *
00008 *            Copyright (c) 1994-2004 AT&T Corp.           *
00009 *                and is licensed under the                *
00010 *            Common Public License, Version 1.0           *
00011 *                      by AT&T Corp.                      *
00012 *                                                         *
00013 *        Information and Software Systems Research        *
00014 *              AT&T Research, Florham Park NJ             *
00015 **********************************************************/
00016 
00017 
00018 #ifndef _PATHGEOM_INCLUDE
00019 #define _PATHGEOM_INCLUDE
00020 
00021 #ifdef __cplusplus
00022 extern "C" {
00023 #endif
00024 
00025 #ifdef HAVE_POINTF_S
00026     typedef struct pointf_s Ppoint_t;
00027     typedef struct pointf_s Pvector_t;
00028 #else
00029     typedef struct Pxy_t {
00030         double x, y;
00031     } Pxy_t;
00032 
00033     typedef struct Pxy_t Ppoint_t;
00034     typedef struct Pxy_t Pvector_t;
00035 #endif
00036 
00037     typedef struct Ppoly_t {
00038         Ppoint_t *ps;
00039         int pn;
00040     } Ppoly_t;
00041 
00042     typedef Ppoly_t Ppolyline_t;
00043 
00044     typedef struct Pedge_t {
00045         Ppoint_t a, b;
00046     } Pedge_t;
00047 
00048 /* opaque state handle for visibility graph operations */
00049     typedef struct vconfig_s vconfig_t;
00050 
00051 #ifdef __cplusplus
00052 }
00053 #endif
00054 #endif

Generated on Mon Mar 31 19:03:28 2008 for Graphviz by  doxygen 1.5.1