GEOS
3.3.3
Main Page
Related Pages
Namespaces
Classes
Files
File List
include
geos
geomgraph
Position.h
1
/**********************************************************************
2
* $Id: Position.h 2557 2009-06-08 09:30:55Z strk $
3
*
4
* GEOS - Geometry Engine Open Source
5
* http://geos.refractions.net
6
*
7
* Copyright (C) 2005-2006 Refractions Research Inc.
8
* Copyright (C) 2001-2002 Vivid Solutions Inc.
9
*
10
* This is free software; you can redistribute and/or modify it under
11
* the terms of the GNU Lesser General Public Licence as published
12
* by the Free Software Foundation.
13
* See the COPYING file for more information.
14
*
15
**********************************************************************
16
*
17
* Last port: geomgraph/Position.java rev. 1.4 (JTS-1.10)
18
*
19
**********************************************************************/
20
21
22
#ifndef GEOS_GEOMGRAPH_POSITION_H
23
#define GEOS_GEOMGRAPH_POSITION_H
24
25
#include <geos/export.h>
26
#include <map>
27
#include <vector>
28
#include <string>
29
30
#include <geos/inline.h>
31
32
33
namespace
geos {
34
namespace
geomgraph {
// geos.geomgraph
35
36
class
GEOS_DLL Position {
37
public
:
38
enum
{
39
/*
40
* An indicator that a Location is <i>on</i>
41
* a GraphComponent
42
*/
43
ON=0,
44
45
/*
46
* An indicator that a Location is to the
47
* <i>left</i> of a GraphComponent
48
*/
49
LEFT,
50
51
/*
52
* An indicator that a Location is to the
53
* <i>right</i> of a GraphComponent
54
*/
55
RIGHT
56
};
57
62
static
int
opposite(
int
position);
63
};
64
65
}
// namespace geos.geomgraph
66
}
// namespace geos
67
68
//#ifdef GEOS_INLINE
69
//# include "geos/geomgraph/Position.inl"
70
//#endif
71
72
#endif // ifndef GEOS_GEOMGRAPH_POSITION_H
73
74
/**********************************************************************
75
* $Log$
76
* Revision 1.2 2006/03/24 09:52:41 strk
77
* USE_INLINE => GEOS_INLINE
78
*
79
* Revision 1.1 2006/03/09 16:46:49 strk
80
* geos::geom namespace definition, first pass at headers split
81
*
82
**********************************************************************/
83
Generated on Thu Mar 13 2014 09:55:44 for GEOS by
1.8.1.2