21 #ifndef GEOS_GEOMGRAPH_LABEL_H 22 #define GEOS_GEOMGRAPH_LABEL_H 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;
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...
Location
Constants representing the location of a point relative to a geometry.
A Label indicates the topological relationship of a component of a topology graph to a given Geometry...
std::ostream & operator<<(std::ostream &os, const Edge &el)
Basic namespace for all GEOS functionalities.