23 #ifndef NBNetBuilder_h 24 #define NBNetBuilder_h 142 void compute(
OptionsCont& oc,
const std::set<std::string>& explicitTurnarounds = std::set<std::string>(),
bool mayAddOrRemove =
true);
NBNetBuilder()
Constructor.
void setHaveNetworkCrossings(bool value)
enable crossing in networks
NBTypeCont myTypeCont
The used container for street types.
NBPTStopCont myPTStopCont
The used container for pt stops.
NBTypeCont & getTypeCont()
Returns a reference to the type container.
static bool transformCoordinate(Position &from, bool includeInBoundary=true, GeoConvHelper *from_srs=0)
transforms loaded coordinates handles projections, offsets (using GeoConvHelper) and import of height...
void mirrorX()
mirror the network along the X-axis
A container for traffic light definitions and built programs.
~NBNetBuilder()
Destructor.
A container for districts.
A NBNetBuilder extended by visualisation and editing capabilities.
NBPTStopCont & getPTStopCont()
Returns a reference to the pt stop container.
NBPTLineCont & getPTLineCont()
Returns a reference to the pt line container.
static bool transformCoordinates(PositionVector &from, bool includeInBoundary=true, GeoConvHelper *from_srs=0)
const std::string & getID() const
Returns the id.
NBParkingCont & getParkingCont()
NBNetBuilder & operator=(const NBNetBuilder &s)
invalidated assignment operator
void applyOptions(OptionsCont &oc)
Initialises the storage by applying given options.
static methods for processing the coordinates conversion for the current net
A point in 2D or 3D with translation and scaling methods.
NBEdgeCont & getEdgeCont()
NBEdgeCont myEdgeCont
The used container for edges.
void haveLoadedNetworkWithoutInternalEdges()
notify about style of loaded network (Without internal edges
int operator()(const NBNode *n1, const NBNode *n2) const
selection operator
bool myNetworkHaveCrossings
flag to indicate that network has crossings
by_id_sorter()
constructor
NBTrafficLightLogicCont myTLLCont
The used container for traffic light logics.
Storage for edges, including some functionality operating on multiple edges.
Sorts nodes by their ids.
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
NBNodeCont & getNodeCont()
Returns a reference to the node container.
Instance responsible for building networks.
A storage for options typed value containers)
NBTrafficLightLogicCont & getTLLogicCont()
Returns a reference to 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.
void compute(OptionsCont &oc, const std::set< std::string > &explicitTurnarounds=std::set< std::string >(), bool mayAddOrRemove=true)
Performs the network building steps.
Container for nodes during the netbuilding process.
bool myHaveLoadedNetworkWithoutInternalEdges
whether a .net.xml without internal edges was loaded
NBParkingCont myParkingCont
NBNodeCont myNodeCont
The used container for nodes.
NBDistrictCont & getDistrictCont()
Returns a reference the districts container.
NBPTLineCont myPTLineCont
The used container for pt stops.
A storage for available types of edges.