23 #ifndef NBNetBuilder_h
24 #define NBNetBuilder_h
143 const std::set<std::string>& explicitTurnarounds = std::set<std::string>(),
144 bool removeUnwishedNodes =
true);
void moveToOrigin(GeoConvHelper &geoConvHelper)
shift network so its lower left corner is at 0,0
NBNetBuilder()
Constructor.
NBTypeCont myTypeCont
The used container for street types.
NBTypeCont & getTypeCont()
Returns the type container.
void haveSeenRoundabouts()
declare that roundabouts have been seen during loading
static bool transformCoordinates(Position &from, bool includeInBoundary=true, GeoConvHelper *from_srs=0)
transforms loaded coordinates handles projections, offsets (using GeoConvHelper) and import of height...
NBJoinedEdgesMap myJoinedEdges
Map of joined edges.
A container for traffic light definitions and built programs.
~NBNetBuilder()
Destructor.
A container for districts.
bool myHaveSeenRoundabouts
whether a sumo network with roundabout information was loaded
NBNetBuilder & operator=(const NBNetBuilder &s)
invalidated assignment operator
void applyOptions(OptionsCont &oc)
Initialises the storage by applying given options.
const std::vector< EdgeVector > & getRoundabouts() const
Returns the determined roundabouts.
const std::string & getID() const
Returns the id.
int operator()(const NBNode *n1, const NBNode *n2) const
static methods for processing the coordinates conversion for the current net
A point in 2D or 3D with translation and scaling methods.
NBEdgeCont & getEdgeCont()
Returns the edge container.
NBEdgeCont myEdgeCont
The used container for edges.
by_id_sorter()
constructor
NBTrafficLightLogicCont myTLLCont
The used container for traffic light logics.
void compute(OptionsCont &oc, const std::set< std::string > &explicitTurnarounds=std::set< std::string >(), bool removeUnwishedNodes=true)
Performs the network building steps.
std::vector< EdgeVector > myRoundabouts
Edges marked as belonging to a roundabout (each EdgeVector is a roundabout)
Storage for edges, including some functionality operating on multiple edges.
const NBJoinedEdgesMap & getJoinedEdgesMap() const
Returns the joined edges map.
Sorts nodes by their ids.
NBNodeCont & getNodeCont()
Returns the node container.
A structure storing information about which edges were joined.
Instance responsible for building networks.
A storage for options typed value containers)
NBTrafficLightLogicCont & getTLLogicCont()
Returns the traffic light logics container.
Represents a single node (junction) during network building.
NBDistrictCont myDistrictCont
The used container for districts.
Static storage of an output device and its base (abstract) implementation.
Container for nodes during the netbuilding process.
NBNodeCont myNodeCont
The used container for nodes.
NBDistrictCont & getDistrictCont()
Returns the districts container.
A storage for available types of edges.