GEOS 3.11.1
EdgeSourceInfo.h
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#include <cstdint>
20
21namespace geos { // geos.
22namespace operation { // geos.operation
23namespace overlayng { // geos.operation.overlayng
38class GEOS_DLL EdgeSourceInfo {
39
40private:
41
42 // Members
43 uint8_t index;
44 int8_t dim;
45 bool edgeIsHole;
46 int depthDelta;
47
48
49public:
50
51 EdgeSourceInfo(uint8_t p_index, int p_depthDelta, bool p_isHole);
52 EdgeSourceInfo(uint8_t p_index);
53
54 uint8_t 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
Definition: EdgeSourceInfo.h:38
Basic namespace for all GEOS functionalities.
Definition: geos.h:39