
A LandREntity representing a geos::geom::LineString. More...
#include <landr/LineStringEntity.hpp>
Public Member Functions | |
| LineStringEntity (const geos::geom::Geometry *NewLine, unsigned int OfldId) | |
| Creates a new LineStringEntity. | |
| virtual | ~LineStringEntity () |
| LineStringEntity * | clone () |
| Clones a LineStringEntity into a new LineStringEntity. | |
| const geos::geom::LineString * | getLine () const |
| Returns the geos::geom::LineString of this LineStringEntity. | |
| geos::planargraph::Node * | getStartNode () |
| Returns the start geos::planargraph::Node of this LineStringEntity. | |
| geos::planargraph::Node * | getEndNode () |
| Returns the end geos::planargraph::Node of this LineStringEntity. | |
| std::vector< LineStringEntity * > | getLineOrientUpNeighbours () |
| Return a vector of up-neighbours LineStringEntity using the line orientation of this LineStringEntity. | |
| std::vector< LineStringEntity * > | getLineOrientDownNeighbours () |
| Return a vector of down-neighbours LineStringEntity using the line orientation of this LineStringEntity. | |
| void | computeNeighbours () |
| Compute the neighbours using line orientation of this LineStringEntity. | |
A LandREntity representing a geos::geom::LineString.
A LineStringEntity has a StartNode and an EndNode, relatives to its LineString orientation.
| openfluid::landr::LineStringEntity::LineStringEntity | ( | const geos::geom::Geometry * | NewLine, |
| unsigned int | OfldId | ||
| ) |
Creates a new LineStringEntity.
Takes ownership of NewLine.
| base::OFException | if NewLine is not a geos::geom::LineString or is an empty geometry. |
| virtual openfluid::landr::LineStringEntity::~LineStringEntity | ( | ) | [virtual] |
| LineStringEntity* openfluid::landr::LineStringEntity::clone | ( | ) | [virtual] |
Clones a LineStringEntity into a new LineStringEntity.
Implements openfluid::landr::LandREntity.
| void openfluid::landr::LineStringEntity::computeNeighbours | ( | ) | [virtual] |
Compute the neighbours using line orientation of this LineStringEntity.
Implements openfluid::landr::LandREntity.
| geos::planargraph::Node* openfluid::landr::LineStringEntity::getEndNode | ( | ) |
Returns the end geos::planargraph::Node of this LineStringEntity.
| const geos::geom::LineString* openfluid::landr::LineStringEntity::getLine | ( | ) | const |
Returns the geos::geom::LineString of this LineStringEntity.
Return a vector of down-neighbours LineStringEntity using the line orientation of this LineStringEntity.
Return a vector of up-neighbours LineStringEntity using the line orientation of this LineStringEntity.
| geos::planargraph::Node* openfluid::landr::LineStringEntity::getStartNode | ( | ) |
Returns the start geos::planargraph::Node of this LineStringEntity.
1.7.6.1