22 #ifndef GEOS_GEOMGRAPH_GRAPHCOMPONENT_H
23 #define GEOS_GEOMGRAPH_GRAPHCOMPONENT_H
25 #include <geos/export.h>
26 #include <geos/inline.h>
28 #include <geos/geomgraph/Label.h>
33 class IntersectionMatrix;
57 Label& getLabel() {
return label; }
58 const Label& getLabel()
const {
return label; }
59 void setLabel(
const Label& newLabel) { label = newLabel; }
61 virtual void setInResult(
bool isInResult) { isInResultVar=isInResult; }
62 virtual bool isInResult()
const {
return isInResultVar; }
63 virtual void setCovered(
bool isCovered);
64 virtual bool isCovered()
const {
return isCoveredVar; }
65 virtual bool isCoveredSet()
const {
return isCoveredSetVar; }
66 virtual bool isVisited()
const {
return isVisitedVar; }
67 virtual void setVisited(
bool isVisited) { isVisitedVar = isVisited; }
68 virtual bool isIsolated()
const=0;
83 #endif // ifndef GEOS_GEOMGRAPH_GRAPHCOMPONENT_H