#include <CommonDataStructures.h>
Public Member Functions | |
SegmentInfo * | clone () const |
Gets the segment start coordinate. | |
const te::gm::Coord2D & | getCoord1 () const |
Gets the segment end coordinate. | |
const te::gm::Coord2D & | getCoord2 () const |
Gets the segment envelope. | |
const te::gm::Envelope & | getEnvelope () const |
Gets the geometry index. | |
std::size_t | getGeometryIndex () const |
Sets the geometry index. | |
SegmentInfo (const te::gm::Coord2D &coord1, const te::gm::Coord2D &coord2, const te::gm::Envelope &envelope, std::size_t geometryIndex) | |
Constructor. | |
void | setGeometryIndex (std::size_t geometryIndex) |
virtual | ~SegmentInfo () |
Clones the SegmentInfo. | |
Private Attributes | |
te::gm::Coord2D | m_coord1 |
te::gm::Coord2D | m_coord2 |
The segment start coordinate. | |
te::gm::Envelope | m_envelope |
The segment end coordinate. | |
std::size_t | m_geometryIndex |
The segment envelope. | |
Definition at line 230 of file CommonDataStructures.h.
te::vp::SegmentInfo::SegmentInfo | ( | const te::gm::Coord2D & | coord1, |
const te::gm::Coord2D & | coord2, | ||
const te::gm::Envelope & | envelope, | ||
std::size_t | geometryIndex | ||
) |
Constructor.
coord1 | The segment start coordinate |
coord2 | The segment end coordinate |
evenlope | The segment envelope |
polygonIndex | The index of the polygon from which this segment came from Destructor |
|
virtual |
Clones the SegmentInfo.
SegmentInfo * te::vp::SegmentInfo::clone | ( | ) | const |
Gets the segment start coordinate.
const te::gm::Coord2D & te::vp::SegmentInfo::getCoord1 | ( | ) | const |
Gets the segment end coordinate.
const te::gm::Coord2D & te::vp::SegmentInfo::getCoord2 | ( | ) | const |
Gets the segment envelope.
const te::gm::Envelope & te::vp::SegmentInfo::getEnvelope | ( | ) | const |
Gets the geometry index.
std::size_t te::vp::SegmentInfo::getGeometryIndex | ( | ) | const |
Sets the geometry index.
void te::vp::SegmentInfo::setGeometryIndex | ( | std::size_t | geometryIndex | ) |
|
private |
Definition at line 266 of file CommonDataStructures.h.
|
private |
The segment start coordinate.
Definition at line 267 of file CommonDataStructures.h.
|
private |
The segment end coordinate.
Definition at line 268 of file CommonDataStructures.h.
|
private |
The segment envelope.
Definition at line 269 of file CommonDataStructures.h.