39 #ifndef POLYGONGRAPH_HPP_
40 #define POLYGONGRAPH_HPP_
51 namespace openfluid {
namespace landr {
99 virtual LandREntity* getNewEntity(
const geos::geom::Geometry* Geom,
100 unsigned int OfldId);
107 PolygonEdge* createEdge(geos::geom::LineString& LineString);
115 geos::geom::LineString* Segment);
122 void addEdgeAttribute(std::string AttributeName,
130 void removeEdgeAttribute(std::string AttributeName,
190 virtual void setAttributeFromMeanRasterValues(
const std::string& AttributeName);
197 void createVectorRepresentation(std::string FilePath,
198 std::string FileName);
209 double BufferDistance,
210 double ContactLength=0);
224 double BufferDistance,
225 double ContactLength=0);
233 void createEdgeAttribute(std::string AttributeName,
241 void removeEdgeAttribute(std::string AttributeName);
247 std::vector<std::string> getEdgeAttributeNames();
253 virtual void removeEntity(
int OfldId);
266 std::multimap<double, PolygonEntity*> getPolygonEntitiesByMinArea(
double MinArea);
273 std::multimap<double, PolygonEntity*> getPolygonEntitiesByCompactness(
double Compactness);
Relationship
Definition: LandRTools.hpp:65
Interface for managing Vector Data format.
Definition: VectorDataset.hpp:65
A LandRGraph composed of LineStringEntities.
Definition: LineStringGraph.hpp:107
GraphType
Definition: LandRGraph.hpp:82
A LandRGraph composed of PolygonEntities.
Definition: PolygonGraph.hpp:58
Interface for a landscape representation element.
Definition: LandREntity.hpp:63
Interface for a graph composed of LandREntity.
Definition: LandRGraph.hpp:78
A LandREntity representing a geos::geom::Polygon.
Definition: PolygonEntity.hpp:64
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
std::list< LandREntity * > Entities_t
Definition: LandRGraph.hpp:87
Container class for geospatial vector data, represented by an OGR datasource.
Definition: GeoVectorValue.hpp:54
A part of a PolygonEntity exterior ring, that may be share between to adjacent PolygonEntity.
Definition: PolygonEdge.hpp:69
#define DLLEXPORT
Definition: dllexport.hpp:51