|
Graphviz
2.31.20130618.0446
|
00001 /* $Id$ $Revision$ */ 00002 /* vim:set shiftwidth=4 ts=8: */ 00003 00004 /************************************************************************* 00005 * Copyright (c) 2011 AT&T Intellectual Property 00006 * All rights reserved. This program and the accompanying materials 00007 * are made available under the terms of the Eclipse Public License v1.0 00008 * which accompanies this distribution, and is available at 00009 * http://www.eclipse.org/legal/epl-v10.html 00010 * 00011 * Contributors: See CVS logs. Details at http://www.graphviz.org/ 00012 *************************************************************************/ 00013 00014 00015 00016 #ifndef _PATHUTIL_INCLUDE 00017 #define _PATHUTIL_INCLUDE 00018 #define _BLD_pathplan 1 00019 00020 #include "pathplan.h" 00021 00022 #ifdef __cplusplus 00023 extern "C" { 00024 #endif 00025 00026 #ifndef NOT 00027 #define NOT(x) (!(x)) 00028 #endif 00029 #ifndef FALSE 00030 #define FALSE 0 00031 #define TRUE (NOT(FALSE)) 00032 #endif 00033 00034 /*visual studio*/ 00035 #ifdef WIN32_DLL 00036 #ifndef PATHPLAN_EXPORTS 00037 #define extern __declspec(dllimport) 00038 #endif 00039 #endif 00040 /*end visual studio*/ 00041 typedef double COORD; 00042 extern COORD area2(Ppoint_t, Ppoint_t, Ppoint_t); 00043 extern int wind(Ppoint_t a, Ppoint_t b, Ppoint_t c); 00044 extern COORD dist2(Ppoint_t, Ppoint_t); 00045 extern int intersect(Ppoint_t a, Ppoint_t b, Ppoint_t c, Ppoint_t d); 00046 00047 int in_poly(Ppoly_t argpoly, Ppoint_t q); 00048 Ppoly_t copypoly(Ppoly_t); 00049 void freepoly(Ppoly_t); 00050 00051 #undef extern 00052 #ifdef __cplusplus 00053 } 00054 #endif 00055 #endif
1.7.5