GEOS
3.8.1
Main Page
Related Pages
Namespaces
Classes
Files
File List
File Members
include
geos
geomgraph
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
39
class
GEOS_DLL
Position
{
40
public
:
41
enum
{
46
ON = 0,
47
52
LEFT
,
53
58
RIGHT
59
};
60
65
static
int
opposite(
int
position);
66
};
67
68
}
// namespace geos.geomgraph
69
}
// namespace geos
70
71
#endif // ifndef GEOS_GEOMGRAPH_POSITION_H
72
geos::geomgraph::Position::LEFT
An indicator that a Location is to the left of a GraphComponent.
Definition:
Position.h:52
geos::geomgraph::Position
A Position indicates the position of a Location relative to a graph component (Node, Edge, or Area).
Definition:
Position.h:39
Generated by
1.8.5