Graphviz 12.0.1~dev.20240716.0800
Loading...
Searching...
No Matches
pathutil.h
Go to the documentation of this file.
1/*************************************************************************
2 * Copyright (c) 2011 AT&T Intellectual Property
3 * All rights reserved. This program and the accompanying materials
4 * are made available under the terms of the Eclipse Public License v1.0
5 * which accompanies this distribution, and is available at
6 * https://www.eclipse.org/legal/epl-v10.html
7 *
8 * Contributors: Details at https://graphviz.org
9 *************************************************************************/
10
11#pragma once
12
13#include "pathplan.h"
14#include <stdbool.h>
15
16#ifdef __cplusplus
17extern "C" {
18#endif
19
20#ifdef GVDLL
21#ifdef PATHPLAN_EXPORTS
22#define PATHUTIL_API __declspec(dllexport)
23#else
24#define PATHUTIL_API __declspec(dllimport)
25#endif
26#endif
27
28#ifndef PATHUTIL_API
29#define PATHUTIL_API /* nothing */
30#endif
31 typedef double COORD;
35
36 PATHUTIL_API bool in_poly(Ppoly_t argpoly, Ppoint_t q);
37
38#undef PATHUTIL_API
39#ifdef __cplusplus
40}
41#endif
finds and smooths shortest paths
double COORD
Definition pathutil.h:31
PATHUTIL_API int wind(Ppoint_t a, Ppoint_t b, Ppoint_t c)
Definition visibility.c:53
#define PATHUTIL_API
Definition pathutil.h:29
PATHUTIL_API COORD dist2(Ppoint_t, Ppoint_t)
Definition visibility.c:120
PATHUTIL_API COORD area2(Ppoint_t, Ppoint_t, Ppoint_t)
Definition visibility.c:44
PATHUTIL_API bool in_poly(Ppoly_t argpoly, Ppoint_t q)
Definition inpoly.c:24