40 #ifndef __OPENFLUID_LANDR_POLYGONGRAPH_HPP__
41 #define __OPENFLUID_LANDR_POLYGONGRAPH_HPP__
101 virtual LandREntity* createNewEntity(
const geos::geom::Geometry* Geom,
102 unsigned int OfldId);
109 PolygonEdge* createEdge(geos::geom::LineString& LineString);
117 geos::geom::LineString* Segment);
124 void addEdgeAttribute(std::string AttributeName,
132 void removeEdgeAttribute(std::string AttributeName,
192 virtual void setAttributeFromMeanRasterValues(
const std::string& AttributeName);
199 void createVectorRepresentation(std::string FilePath,
200 std::string FileName);
213 double BufferDistance,
214 double ContactLength=0);
230 double BufferDistance,
231 double ContactLength=0);
239 void createEdgeAttribute(std::string AttributeName,
247 void removeEdgeAttribute(std::string AttributeName);
253 std::vector<std::string> getEdgeAttributeNames();
259 virtual void removeEntity(
int OfldId);
274 std::multimap<double, PolygonEntity*> getPolygonEntitiesByMinArea(
double MinArea,
bool Neighbour=
true);
284 std::multimap<double, PolygonEntity*> getPolygonEntitiesByCompactness(
double Compactness,
bool Neighbour=
true);
300 void mergePolygonEntitiesByMinArea(
double MinArea);
308 void mergePolygonEntitiesByCompactness(
double Compactness);