GEOS: Location.h Source File

GEOS 3.5.0

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

- File List

Location.h
1 /**********************************************************************
2 *
3 * GEOS - Geometry Engine Open Source
4 * http://geos.osgeo.org
5 *
6 * Copyright (C) 2006 Refractions Research Inc.
7 *
8 * This is free software; you can redistribute and/or modify it under
9 * the terms of the GNU Lesser General Public Licence as published
10 * by the Free Software Foundation.
11 * See the COPYING file for more information.
12 *
13 **********************************************************************/
14
15 #ifndef GEOS_GEOM_LOCATION_H
16 #define GEOS_GEOM_LOCATION_H
17
18 #include <geos/export.h>
19 #include <iostream> // for ostream
20
21 #include <geos/inline.h>
22
23 namespace geos {
24 namespace geom { // geos::geom
25
35 class GEOS_DLL Location {
36 public:
37 enum Value {
38
42 UNDEF=-1, // Instead of NULL
43
49 INTERIOR = 0,
50
56 BOUNDARY = 1,
57
63 EXTERIOR = 2
64 };
65
66 static char toLocationSymbol(int locationValue);
67 };
68
69 } // namespace geos::geom
70 } // namespace geos
71
72 //#ifdef GEOS_INLINE
73 //# include "geos/geom/Location.inl"
74 //#endif
75
76 #endif // ndef GEOS_GEOM_LOCATION_H
77
geos::geom::Location::Value
Value
Definition: Location.h:37
geos::geom::Location
Constants representing the location of a point relative to a geometry.
Definition: Location.h:35
geos
Basic namespace for all GEOS functionalities.
Definition: IndexedNestedRingTester.h:25