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,
185 RastValByRastPoly_t computeRasterPolyOverlapping(
PolygonEntity& Entity);
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);
Definition: ApplicationException.hpp:47
A LandRGraph composed of PolygonEntities.
Definition: PolygonGraph.hpp:58
A LandRGraph composed of LineStringEntities.
Definition: LineStringGraph.hpp:120
Interface for a graph composed of LandREntity.
Definition: LandRGraph.hpp:83
GraphType
Definition: LandRGraph.hpp:87
Interface for managing Vector Data format.
Definition: VectorDataset.hpp:64
A LandREntity representing a geos::geom::Polygon.
Definition: PolygonEntity.hpp:70
Definition: GeoVectorValue.hpp:56
std::map< geos::geom::Polygon *, double > RastValByRastPoly_t
A a map of polygonized Raster geos::geom::Polygon and its area intersecting PolygonEntity.
Definition: PolygonGraph.hpp:65
#define OPENFLUID_API
Definition: dllexport.hpp:86
Relationship
Definition: LandRTools.hpp:70
Interface for a landscape representation element.
Definition: LandREntity.hpp:69
std::list< LandREntity * > Entities_t
Definition: LandRGraph.hpp:92
A part of a PolygonEntity exterior ring, that may be share between to adjacent PolygonEntity.
Definition: PolygonEdge.hpp:74