GEOS  3.13.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 #pragma once
16 
17 #include <geos/export.h>
18 #include <iostream> // for ostream
19 
20 
21 namespace geos {
22 namespace geom { // geos::geom
23 
32 enum class Location : char {
36  NONE = (char)(-1), // Instead of NULL
37 
43  INTERIOR = 0,
44 
50  BOUNDARY = 1,
51 
57  EXTERIOR = 2
58 };
59 
60 GEOS_DLL std::ostream& operator<<(std::ostream& os, const Location& loc);
61 
62 } // namespace geos::geom
63 } // namespace geos
64 
Location
Constants representing the location of a point relative to a geometry.
Definition: Location.h:32
Basic namespace for all GEOS functionalities.
Definition: Angle.h:25