1 /*
2 * vim: ts=4 sw=4 et tw=0 wm=0
3 *
4 * libavoid - Fast, Incremental, Object-avoiding Line Router
5 *
6 * Copyright (C) 2004-2008 Monash University
7 *
8 * This library is free software; you can redistribute it and/or
9 * modify it under the terms of the GNU Lesser General Public
10 * License as published by the Free Software Foundation; either
11 * version 2.1 of the License, or (at your option) any later version.
12 * See the file LICENSE.LGPL distributed with the library.
13 *
14 * Licensees holding a valid commercial license may use this file in
15 * accordance with the commercial license agreement provided with the
16 * library.
17 *
18 * This library is distributed in the hope that it will be useful,
19 * but WITHOUT ANY WARRANTY; without even the implied warranty of
20 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
21 *
22 * Author(s): Michael Wybrow <mjwybrow@users.sourceforge.net>
23 */
26 #ifndef AVOID_VISIBILITY_H
27 #define AVOID_VISIBILITY_H
29 #include "libavoid/vertices.h"
32 namespace Avoid {
34 class ShapeRef;
35 class VertInf;
37 extern void vertexVisibility(VertInf *point, VertInf *partner, bool knownNew,
38 const bool gen_contains = false);
39 extern void vertexSweep(VertInf *point);
40 extern void computeCompleteVis(void);
41 extern void shapeVis(ShapeRef *shape);
42 extern void shapeVisSweep(ShapeRef *shape);
45 }
48 #endif