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 
33 GEOS_DLL enum class Location : char {
37  UNDEF = -1, // Instead of NULL
38 
44  INTERIOR = 0,
45 
51  BOUNDARY = 1,
52 
58  EXTERIOR = 2
59 };
60 
61 std::ostream& operator<<(std::ostream& os, const Location& loc);
62 
63 } // namespace geos::geom
64 } // namespace geos
65 
66 #endif // ndef GEOS_GEOM_LOCATION_H
67 
GEOS_DLL std::ostream & operator<<(std::ostream &os, const Coordinate &c)
Output function.
Location
Constants representing the location of a point relative to a geometry.
Definition: Location.h:33
Basic namespace for all GEOS functionalities.
Definition: IndexedNestedRingTester.h:25