21 #ifndef GEOS_GEOMGRAPH_LABEL_H 22 #define GEOS_GEOMGRAPH_LABEL_H 24 #include <geos/export.h> 25 #include <geos/geom/Location.h> 26 #include <geos/geomgraph/TopologyLocation.h> 28 #include <geos/inline.h> 62 friend std::ostream& operator<< (std::ostream&,
const Label&);
118 void setLocation(
int geomIndex,
int posIndex,
geom::Location location);
124 void setAllLocationsIfNull(
int geomIndex,
geom::Location location);
134 void merge(
const Label& lbl);
136 int getGeometryCount()
const;
140 bool isNull(
int geomIndex)
const;
142 bool isAnyNull(
int geomIndex)
const;
146 bool isArea(
int geomIndex)
const;
148 bool isLine(
int geomIndex)
const;
150 bool isEqualOnSide(
const Label& lbl,
int side)
const;
157 void toLine(
int geomIndex);
159 std::string toString()
const;
166 std::ostream& operator<< (std::ostream&,
const Label&);
173 # include "geos/geomgraph/Label.inl" 176 #endif // ifndef GEOS_GEOMGRAPH_LABEL_H A TopologyLocation is the labelling of a GraphComponent's topological relationship to a single Geomet...
Definition: TopologyLocation.h:60
Location
Constants representing the location of a point relative to a geometry.
Definition: Location.h:34
A Label indicates the topological relationship of a component of a topology graph to a given Geometry...
Definition: Label.h:58
Basic namespace for all GEOS functionalities.
Definition: IndexedNestedRingTester.h:25