EdgeSourceInfo.h
/**********************************************************************
*
* GEOS - Geometry Engine Open Source
* http://geos.osgeo.org
*
* Copyright (C) 2020 Paul Ramsey <pramsey@cleverelephant.ca>
*
* This is free software; you can redistribute and/or modify it under
* the terms of the GNU Lesser General Public Licence as published
* by the Free Software Foundation.
* See the COPYING file for more information.
*
**********************************************************************/
#pragma once
#include <geos/geom/Dimension.h>
#include <geos/export.h>
#include <cstdint>
namespace geos { // geos.
namespace operation { // geos.operation
namespace overlayng { // geos.operation.overlayng
class GEOS_DLL EdgeSourceInfo {
private:
// Members
uint8_t index;
int8_t dim;
bool edgeIsHole;
int depthDelta;
public:
EdgeSourceInfo(uint8_t p_index, int p_depthDelta, bool p_isHole);
EdgeSourceInfo(uint8_t p_index);
uint8_t getIndex() const { return index; }
int getDimension() const { return dim; }
int getDepthDelta() const { return depthDelta; }
bool isHole() const { return edgeIsHole; }
};
} // namespace geos.operation.overlayng
} // namespace geos.operation
} // namespace geos
geos::operation
Provides classes for implementing operations on geometries.
Definition CleanCoverage.h:34
geos
Basic namespace for all GEOS functionalities.
Definition geos.h:38