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>
47class GEOS_DLL GraphComponent {
54 GraphComponent(
const Label& newLabel);
55 virtual ~GraphComponent();
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;
Implementation of Dimensionally Extended Nine-Intersection Model (DE-9IM) matrix.
Definition IntersectionMatrix.h:51
A Label indicates the topological relationship of a component of a topology graph to a given Geometry...
Definition Label.h:57
Contains the Geometry interface hierarchy and supporting classes.
Definition IndexedNestedRingTester.h:26
Contains classes that implement topology graphs.
Definition IndexedNestedRingTester.h:34
Basic namespace for all GEOS functionalities.
Definition IndexedNestedRingTester.h:25