GEOS: Position.h Source File

GEOS 3.5.0

- Main Page
- Related Pages
- Namespaces
- Classes
- Files

- File List

Position.h
1 /**********************************************************************
2 *
3 * GEOS - Geometry Engine Open Source
4 * http://geos.osgeo.org
5 *
6 * Copyright (C) 2005-2006 Refractions Research Inc.
7 * Copyright (C) 2001-2002 Vivid Solutions Inc.
8 *
9 * This is free software; you can redistribute and/or modify it under
10 * the terms of the GNU Lesser General Public Licence as published
11 * by the Free Software Foundation.
12 * See the COPYING file for more information.
13 *
14 **********************************************************************
15 *
16 * Last port: geomgraph/Position.java rev. 1.4 (JTS-1.10)
17 *
18 **********************************************************************/
19
20
21 #ifndef GEOS_GEOMGRAPH_POSITION_H
22 #define GEOS_GEOMGRAPH_POSITION_H
23
24 #include <geos/export.h>
25 #include <map>
26 #include <vector>
27 #include <string>
28
29 #include <geos/inline.h>
30
31
32 namespace geos {
33 namespace geomgraph { // geos.geomgraph
34
35 class GEOS_DLL Position {
36 public:
37 enum {
38 /*
39 * An indicator that a Location is <i>on</i>
40 * a GraphComponent
41 */
42 ON=0,
43
44 /*
45 * An indicator that a Location is to the
46 * <i>left</i> of a GraphComponent
47 */
48 LEFT,
49
50 /*
51 * An indicator that a Location is to the
52 * <i>right</i> of a GraphComponent
53 */
54 RIGHT
55 };
56
61 static int opposite(int position);
62 };
63
64 } // namespace geos.geomgraph
65 } // namespace geos
66
67 #endif // ifndef GEOS_GEOMGRAPH_POSITION_H
68
geos
Basic namespace for all GEOS functionalities.
Definition: IndexedNestedRingTester.h:25