GEOS
3.9.1dev
|
Contains and owns a list of TaggedLineSegments. More...
#include <TaggedLineString.h>
Public Types | |
typedef std::vector< geom::Coordinate > | CoordVect |
typedef std::unique_ptr< CoordVect > | CoordVectPtr |
typedef geom::CoordinateSequence | CoordSeq |
typedef std::unique_ptr< geom::CoordinateSequence > | CoordSeqPtr |
Public Member Functions | |
TaggedLineString (const geom::LineString *nParentLine, std::size_t minimumSize=2) | |
~TaggedLineString () | |
std::size_t | getMinimumSize () const |
const geom::LineString * | getParent () const |
const CoordSeq * | getParentCoordinates () const |
CoordSeqPtr | getResultCoordinates () const |
std::size_t | getResultSize () const |
TaggedLineSegment * | getSegment (std::size_t i) |
const TaggedLineSegment * | getSegment (std::size_t i) const |
std::vector< TaggedLineSegment * > & | getSegments () |
const std::vector< TaggedLineSegment * > & | getSegments () const |
void | addToResult (std::unique_ptr< TaggedLineSegment > seg) |
std::unique_ptr< geom::Geometry > | asLineString () const |
std::unique_ptr< geom::Geometry > | asLinearRing () const |
Private Member Functions | |
void | init () |
TaggedLineString (const TaggedLineString &) | |
TaggedLineString & | operator= (const TaggedLineString &) |
Static Private Member Functions | |
static CoordVectPtr | extractCoordinates (const std::vector< TaggedLineSegment * > &segs) |
Private Attributes | |
const geom::LineString * | parentLine |
std::vector< TaggedLineSegment * > | segs |
std::vector< TaggedLineSegment * > | resultSegs |
std::size_t | minimumSize |
Contains and owns a list of TaggedLineSegments.
Definition at line 58 of file TaggedLineString.h.
Definition at line 66 of file TaggedLineString.h.
typedef std::unique_ptr<geom::CoordinateSequence> geos::simplify::TaggedLineString::CoordSeqPtr |
Definition at line 68 of file TaggedLineString.h.
typedef std::vector<geom::Coordinate> geos::simplify::TaggedLineString::CoordVect |
Definition at line 62 of file TaggedLineString.h.
typedef std::unique_ptr<CoordVect> geos::simplify::TaggedLineString::CoordVectPtr |
Definition at line 64 of file TaggedLineString.h.
geos::simplify::TaggedLineString::TaggedLineString | ( | const geom::LineString * | nParentLine, |
std::size_t | minimumSize = 2 |
||
) |
geos::simplify::TaggedLineString::~TaggedLineString | ( | ) |
|
private |
void geos::simplify::TaggedLineString::addToResult | ( | std::unique_ptr< TaggedLineSegment > | seg | ) |
std::unique_ptr<geom::Geometry> geos::simplify::TaggedLineString::asLinearRing | ( | ) | const |
std::unique_ptr<geom::Geometry> geos::simplify::TaggedLineString::asLineString | ( | ) | const |
|
staticprivate |
std::size_t geos::simplify::TaggedLineString::getMinimumSize | ( | ) | const |
const geom::LineString* geos::simplify::TaggedLineString::getParent | ( | ) | const |
const CoordSeq* geos::simplify::TaggedLineString::getParentCoordinates | ( | ) | const |
CoordSeqPtr geos::simplify::TaggedLineString::getResultCoordinates | ( | ) | const |
std::size_t geos::simplify::TaggedLineString::getResultSize | ( | ) | const |
TaggedLineSegment* geos::simplify::TaggedLineString::getSegment | ( | std::size_t | i | ) |
const TaggedLineSegment* geos::simplify::TaggedLineString::getSegment | ( | std::size_t | i | ) | const |
std::vector<TaggedLineSegment*>& geos::simplify::TaggedLineString::getSegments | ( | ) |
const std::vector<TaggedLineSegment*>& geos::simplify::TaggedLineString::getSegments | ( | ) | const |
|
private |
|
private |
|
private |
Definition at line 109 of file TaggedLineString.h.
|
private |
Definition at line 101 of file TaggedLineString.h.
|
private |
Definition at line 107 of file TaggedLineString.h.
|
private |
Definition at line 104 of file TaggedLineString.h.