 |
Eclipse SUMO - Simulation of Urban MObility
|
Go to the documentation of this file.
21 #ifndef NBNetBuilder_h
22 #define NBNetBuilder_h
137 void compute(
OptionsCont& oc,
const std::set<std::string>& explicitTurnarounds = std::set<std::string>(),
bool mayAddOrRemove =
true);
ShapeContainer myShapeCont
container for loaded polygon data
void mirrorX()
mirror the network along the X-axis
NBNetBuilder()
Constructor.
NBPTStopCont myPTStopCont
The used container for pt stops.
Storage for edges, including some functionality operating on multiple edges.
Instance responsible for building networks.
A container for traffic light definitions and built programs.
Static storage of an output device and its base (abstract) implementation.
NBPTLineCont myPTLineCont
The used container for pt stops.
A NBNetBuilder extended by visualisation and editing capabilities.
NBTypeCont myTypeCont
The used container for street types.
static bool transformCoordinates(PositionVector &from, bool includeInBoundary=true, GeoConvHelper *from_srs=0)
Storage for geometrical objects.
static bool transformCoordinate(Position &from, bool includeInBoundary=true, GeoConvHelper *from_srs=0)
transforms loaded coordinates handles projections, offsets (using GeoConvHelper) and import of height...
NBNetBuilder & operator=(const NBNetBuilder &s)
invalidated assignment operator
A container for districts.
static methods for processing the coordinates conversion for the current net
Container for nodes during the netbuilding process.
NBEdgeCont & getEdgeCont()
NBPTStopCont & getPTStopCont()
Returns a reference to the pt stop container.
NBPTLineCont & getPTLineCont()
Returns a reference to the pt line container.
NBParkingCont & getParkingCont()
bool myNetworkHaveCrossings
flag to indicate that network has crossings
NBTrafficLightLogicCont myTLLCont
The used container for traffic light logics.
void applyOptions(OptionsCont &oc)
Initialises the storage by applying given options.
A point in 2D or 3D with translation and scaling methods.
A storage for options typed value containers)
bool haveNetworkCrossings()
notify about style of loaded network (Without Crossings)
void moveToOrigin(GeoConvHelper &geoConvHelper, bool lefthand)
shift network so its lower left corner is at 0,0
NBEdgeCont myEdgeCont
The used container for edges.
NBDistrictCont myDistrictCont
The used container for districts.
A storage for available types of edges.
NBTrafficLightLogicCont & getTLLogicCont()
Returns a reference to the traffic light logics container.
NBDistrictCont & getDistrictCont()
Returns a reference the districts container.
void compute(OptionsCont &oc, const std::set< std::string > &explicitTurnarounds=std::set< std::string >(), bool mayAddOrRemove=true)
Performs the network building steps.
static bool runningNetedit()
whether netbuilding takes place in the context of NETEDIT
NBParkingCont myParkingCont
void setHaveNetworkCrossings(bool value)
enable crossing in networks
Sorts nodes by their ids.
Represents a single node (junction) during network building.
ShapeContainer & getShapeCont()
NBNodeCont & getNodeCont()
Returns a reference to the node container.
NBTypeCont & getTypeCont()
Returns a reference to the type container.
const std::string & getID() const
Returns the id.
int operator()(const NBNode *n1, const NBNode *n2) const
selection operator
NBNodeCont myNodeCont
The used container for nodes.
by_id_sorter()
constructor
~NBNetBuilder()
Destructor.