GEOS  3.8.0dev
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 
Value
Definition: Location.h:37
Constants representing the location of a point relative to a geometry.
Definition: Location.h:35
Basic namespace for all GEOS functionalities.
Definition: IndexedNestedRingTester.h:25