GEOS: Location.h Source File

GEOS 3.3.8

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

- File List

Location.h
1 /**********************************************************************
2 * $Id: Location.h 2556 2009-06-06 22:22:28Z strk $
3 *
4 * GEOS - Geometry Engine Open Source
5 * http://geos.refractions.net
6 *
7 * Copyright (C) 2006 Refractions Research 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 #ifndef GEOS_GEOM_LOCATION_H
17 #define GEOS_GEOM_LOCATION_H
18
19 #include <geos/export.h>
20 #include <iostream> // for ostream
21
22 #include <geos/inline.h>
23
24 namespace geos {
25 namespace geom { // geos::geom
26
36 class GEOS_DLL Location {
37 public:
38 enum Value {
39
43 UNDEF=-1, // Instead of NULL
44
50 INTERIOR = 0,
51
57 BOUNDARY = 1,
58
64 EXTERIOR = 2
65 };
66
67 static char toLocationSymbol(int locationValue);
68 };
69
70 } // namespace geos::geom
71 } // namespace geos
72
73 //#ifdef GEOS_INLINE
74 //# include "geos/geom/Location.inl"
75 //#endif
76
77 #endif // ndef GEOS_GEOM_LOCATION_H
78