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> 63 friend std::ostream& operator<< (std::ostream&,
const Label&);
115 geom::Location getLocation(uint32_t geomIndex, uint32_t posIndex)
const;
119 void setLocation(uint32_t geomIndex, uint32_t posIndex,
geom::Location location);
123 void setAllLocations(uint32_t geomIndex,
geom::Location location);
125 void setAllLocationsIfNull(uint32_t geomIndex,
geom::Location location);
135 void merge(
const Label& lbl);
137 int getGeometryCount()
const;
141 bool isNull(uint32_t geomIndex)
const;
143 bool isAnyNull(uint32_t geomIndex)
const;
147 bool isArea(uint32_t geomIndex)
const;
149 bool isLine(uint32_t geomIndex)
const;
151 bool isEqualOnSide(
const Label& lbl, uint32_t side)
const;
153 bool allPositionsEqual(uint32_t geomIndex,
geom::Location loc)
const;
158 void toLine(uint32_t geomIndex);
160 std::string toString()
const;
167 std::ostream& operator<< (std::ostream&,
const Label&);
174 # include "geos/geomgraph/Label.inl" 177 #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:59
Basic namespace for all GEOS functionalities.
Definition: Angle.h:26