39 #ifndef LANDRENTITY_HPP_
40 #define LANDRENTITY_HPP_
42 #include <geos/planargraph/GraphComponent.h>
48 namespace geos {
namespace geom {
114 virtual void computeNeighbours() = 0;
118 LandREntity(
const geos::geom::Geometry* Geom,
unsigned int OfldId);
127 const geos::geom::Geometry* getGeometry();
132 unsigned int getOfldId()
const;
137 geos::geom::Point* getCentroid()
const;
142 double getArea()
const;
147 double getLength()
const;
152 std::set<LandREntity*>* getNeighbours();
160 bool getAttributeValue(
const std::string& AttributeName,
core::Value& Value)
const;
169 bool setAttributeValue(
const std::string& AttributeName,
const core::Value* Value);
std::map< std::string, core::Value * > m_Attributes
A map of attributes of this LandREntity.
Definition: LandREntity.hpp:106
geos::geom::Point * mp_Centroid
The centroid of this LandREntity.
Definition: LandREntity.hpp:85
double m_Area
The area of this LandREntity.
Definition: LandREntity.hpp:90
const geos::geom::Geometry * mp_Geom
The geos::geom::Geometry of this LandREntity.
Definition: LandREntity.hpp:75
Interface for a landscape representation element.
Definition: LandREntity.hpp:63
Interface for a graph composed of LandREntity.
Definition: LandRGraph.hpp:78
std::set< LandREntity * > * mp_Neighbours
A set of LandREntity neighbours of this LandREntity.
Definition: LandREntity.hpp:100
unsigned int m_OfldId
The identifier of this LandREntity.
Definition: LandREntity.hpp:80
double m_Lenght
The length of this LandREntity.
Definition: LandREntity.hpp:95
#define DLLEXPORT
Definition: dllexport.hpp:51