GEOS  3.9.1dev
EdgeSourceInfo.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) 2020 Paul Ramsey <pramsey@cleverelephant.ca>
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/geom/Dimension.h>
18 #include <geos/export.h>
19 
20 
21 namespace geos { // geos.
22 namespace operation { // geos.operation
23 namespace overlayng { // geos.operation.overlayng
39 
40 private:
41 
42  // Members
43  int index;
44  int dim;
45  bool edgeIsHole;
47 
48 
49 public:
50 
51  EdgeSourceInfo(int p_index, int p_depthDelta, bool p_isHole);
52  EdgeSourceInfo(int p_index);
53 
54  int getIndex() const { return index; }
55  int getDimension() const { return dim; }
56  int getDepthDelta() const { return depthDelta; }
57  bool isHole() const { return edgeIsHole; }
58 
59 };
60 
61 
62 } // namespace geos.operation.overlayng
63 } // namespace geos.operation
64 } // namespace geos
65 
#define GEOS_DLL
Definition: export.h:28
Basic namespace for all GEOS functionalities.