Public Member Functions | |
void | Add (Graph::HalfEdge &edge) |
void | Close () |
RoadSegmentBuilder (const Graph &graph) | |
Public Attributes | |
std::vector< TUniquePtr< RoadSegmentDescription > > | Segments |
Private Member Functions | |
bool | insert (Graph::HalfEdge &edge) |
Insert both half-edges only if they haven't been visited yet. More... | |
Private Attributes | |
const Graph & | _graph |
bool | _handlingInitial = true |
std::vector< const Graph::HalfEdge * > | _initial |
std::unordered_set< const Graph::HalfEdge * > | _visitedEdges |
Definition at line 92 of file GraphParser.cpp.
|
inlineexplicit |
Definition at line 97 of file GraphParser.cpp.
|
inline |
Definition at line 99 of file GraphParser.cpp.
References _handlingInitial, _initial, MapGen::DoublyConnectedEdgeList::GetSource(), and insert().
Referenced by MapGen::GraphParser::GraphParser().
|
inline |
Definition at line 113 of file GraphParser.cpp.
References _handlingInitial, and _initial.
Referenced by MapGen::GraphParser::GraphParser().
|
inlineprivate |
Insert both half-edges only if they haven't been visited yet.
Definition at line 123 of file GraphParser.cpp.
References _visitedEdges, and MapGen::DoublyConnectedEdgeList::GetPair().
Referenced by Add().
|
private |
Definition at line 128 of file GraphParser.cpp.
|
private |
Definition at line 132 of file GraphParser.cpp.
|
private |
Definition at line 134 of file GraphParser.cpp.
|
private |
Definition at line 130 of file GraphParser.cpp.
Referenced by insert().
std::vector<TUniquePtr<RoadSegmentDescription> > MapGen::RoadSegmentBuilder::Segments |
Definition at line 95 of file GraphParser.cpp.
Referenced by MapGen::GraphParser::GraphParser().