GEOS  3.9.1dev
Location.h
Go to the documentation of this file.
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 
34 enum class GEOS_DLL Location : char {
38  NONE = (char)(-1), // Instead of NULL
39 
45  INTERIOR = 0,
46 
52  BOUNDARY = 1,
53 
59  EXTERIOR = 2
60 };
61 
62 GEOS_DLL std::ostream& operator<<(std::ostream& os, const Location& loc);
63 
64 } // namespace geos::geom
65 } // namespace geos
66 
67 #endif // ndef GEOS_GEOM_LOCATION_H
68 
#define GEOS_DLL
Definition: export.h:28
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:34
Basic namespace for all GEOS functionalities.