39 #ifndef __OPENFLUID_LANDR_LANDRENTITY_HPP__
40 #define __OPENFLUID_LANDR_LANDRENTITY_HPP__
42 #include <geos/planargraph/GraphComponent.h>
48 namespace geos {
namespace geom {
115 virtual void computeNeighbours() = 0;
120 LandREntity(
const geos::geom::Geometry* Geom,
unsigned int OfldId);
129 const geos::geom::Geometry* geometry();
134 unsigned int getOfldId()
const;
139 geos::geom::Point* centroid()
const;
144 double getArea()
const;
149 double getLength()
const;
154 std::set<LandREntity*>* neighbours();
162 bool getAttributeValue(
const std::string& AttributeName,
core::Value& Value)
const;
171 bool setAttributeValue(
const std::string& AttributeName,
const core::Value* Value);
double m_Area
The area of this LandREntity.
Definition: LandREntity.hpp:91
Interface for a graph composed of LandREntity.
Definition: LandRGraph.hpp:78
std::map< std::string, core::Value * > m_Attributes
A map of attributes of this LandREntity.
Definition: LandREntity.hpp:107
std::set< LandREntity * > * mp_Neighbours
A set of LandREntity neighbours of this LandREntity.
Definition: LandREntity.hpp:101
Interface for a landscape representation element.
Definition: LandREntity.hpp:63
const geos::geom::Geometry * mp_Geom
The geos::geom::Geometry of this LandREntity.
Definition: LandREntity.hpp:76
unsigned int m_OfldId
The identifier of this LandREntity.
Definition: LandREntity.hpp:81
double m_Length
The length of this LandREntity.
Definition: LandREntity.hpp:96
#define OPENFLUID_API
Definition: dllexport.hpp:87
geos::geom::Point * mp_Centroid
The centroid of this LandREntity.
Definition: LandREntity.hpp:86