40 #ifndef __OPENFLUID_LANDR_LANDRENTITY_HPP__ 41 #define __OPENFLUID_LANDR_LANDRENTITY_HPP__ 48 #include <geos/planargraph/GraphComponent.h> 53 namespace geos {
namespace geom {
121 virtual void computeNeighbours() = 0;
126 LandREntity(
const geos::geom::Geometry* Geom,
unsigned int OfldId);
135 const geos::geom::Geometry* geometry();
140 unsigned int getOfldId()
const;
145 geos::geom::Point* centroid()
const;
150 double getArea()
const;
155 double getLength()
const;
160 std::set<LandREntity*>* neighbours();
168 bool getAttributeValue(
const std::string& AttributeName,
core::Value& Value)
const;
177 bool setAttributeValue(
const std::string& AttributeName,
const core::Value* Value);
double m_Area
The area of this LandREntity.
Definition: LandREntity.hpp:97
Interface for a landscape representation element.
Definition: LandREntity.hpp:69
double m_Length
The length of this LandREntity.
Definition: LandREntity.hpp:102
#define OPENFLUID_API
Definition: dllexport.hpp:87
const geos::geom::Geometry * mp_Geom
The geos::geom::Geometry of this LandREntity.
Definition: LandREntity.hpp:82
std::map< std::string, core::Value * > m_Attributes
A map of attributes of this LandREntity.
Definition: LandREntity.hpp:113
unsigned int m_OfldId
The identifier of this LandREntity.
Definition: LandREntity.hpp:87
Definition: LandREntity.hpp:53
Interface for a graph composed of LandREntity.
Definition: LandRGraph.hpp:83
std::set< LandREntity * > * mp_Neighbours
A set of LandREntity neighbours of this LandREntity.
Definition: LandREntity.hpp:107
geos::geom::Point * mp_Centroid
The centroid of this LandREntity.
Definition: LandREntity.hpp:92
Definition: ApplicationException.hpp:47