GEOS  3.9.1dev
Public Member Functions | Private Member Functions | Private Attributes | List of all members
geos::operation::linemerge::EdgeString Class Reference

A sequence of LineMergeDirectedEdge forming one of the lines that will be output by the line-merging process. More...

#include <EdgeString.h>

Collaboration diagram for geos::operation::linemerge::EdgeString:
[legend]

Public Member Functions

 EdgeString (const geom::GeometryFactory *newFactory)
 Constructs an EdgeString with the given factory used to convert this EdgeString to a LineString. More...
 
 ~EdgeString ()=default
 
void add (LineMergeDirectedEdge *directedEdge)
 
geom::LineStringtoLineString ()
 

Private Member Functions

geom::CoordinateSequencegetCoordinates ()
 

Private Attributes

const geom::GeometryFactoryfactory
 
std::vector< LineMergeDirectedEdge * > directedEdges
 
geom::CoordinateArraySequencecoordinates
 

Detailed Description

A sequence of LineMergeDirectedEdge forming one of the lines that will be output by the line-merging process.

Definition at line 56 of file EdgeString.h.

Constructor & Destructor Documentation

geos::operation::linemerge::EdgeString::EdgeString ( const geom::GeometryFactory newFactory)

Constructs an EdgeString with the given factory used to convert this EdgeString to a LineString.

geos::operation::linemerge::EdgeString::~EdgeString ( )
default

Member Function Documentation

void geos::operation::linemerge::EdgeString::add ( LineMergeDirectedEdge directedEdge)

Adds a directed edge which is known to form part of this line.

geom::CoordinateSequence* geos::operation::linemerge::EdgeString::getCoordinates ( )
private
geom::LineString* geos::operation::linemerge::EdgeString::toLineString ( )

Converts this EdgeString into a LineString.

Member Data Documentation

geom::CoordinateArraySequence* geos::operation::linemerge::EdgeString::coordinates
private

Definition at line 60 of file EdgeString.h.

std::vector<LineMergeDirectedEdge*> geos::operation::linemerge::EdgeString::directedEdges
private

Definition at line 59 of file EdgeString.h.

const geom::GeometryFactory* geos::operation::linemerge::EdgeString::factory
private

Definition at line 58 of file EdgeString.h.


The documentation for this class was generated from the following file: