56 NBPTStop(std::string ptStopId,
Position position, std::string edgeId, std::string origEdgeId,
double length, std::string name,
62 std::string
getID()
const;
72 const std::string
getName()
const;
115 void addAccess(std::string laneID,
double offset,
double length);
121 void addLine(
const std::string& line);
147 bool replaceEdge(
const std::string& edgeID,
const std::vector<NBEdge*>& replacement);
176 std::vector<std::tuple<std::string, double, double>>
myAccesses;
long long int SVCPermissions
bitset where each bit declares whether a certain SVC may use this edge/lane
Storage for edges, including some functionality operating on multiple edges.
The representation of a single edge during network building.
The representation of a single pt stop.
bool myIsMultipleStopPositions
std::map< std::string, std::string > myAdditionalEdgeCandidates
void registerAdditionalEdge(std::string wayId, std::string edgeId)
const SVCPermissions myPermissions
const std::map< std::string, std::string > & getAdditionalEdgeCandidates() const
bool findLaneAndComputeBusStopExtent(const NBEdgeCont &ec)
void addPlatformCand(NBPTPlatform platform)
void clearAccess()
remove all access definitions
void setPTStopLength(double ptStopLength)
const std::string & getLaneId() const
std::vector< NBPTPlatform > myPlatformCands
const std::vector< std::string > & getLines() const
std::vector< std::string > myLines
list of public transport lines (for displaying)
bool setEdgeId(std::string edgeId, const NBEdgeCont &ec)
void setOrigEdgeId(const std::string &origEdgeId)
std::string getID() const
std::shared_ptr< NBPTStop > getBidiStop() const
void mirrorX()
mirror coordinates along the x-axis
std::weak_ptr< NBPTStop > myBidiStop
bool getIsMultipleStopPositions() const
void addAccess(std::string laneID, double offset, double length)
void write(OutputDevice &device)
virtual ~NBPTStop()
Destructor.
const std::vector< NBPTPlatform > & getPlatformCands()
void setPTStopId(std::string id)
long long int getAreaID() const
NBPTStop & operator=(const NBPTStop &)
Invalidated assignment operator.
std::vector< std::tuple< std::string, double, double > > myAccesses
laneId, lanePos, accessLength
void addLine(const std::string &line)
register line that services this stop (for displaying)
void setBidiStop(std::shared_ptr< NBPTStop > bidiStop)
void reshiftPosition(const double offsetX, const double offsetY)
bool replaceEdge(const std::string &edgeID, const std::vector< NBEdge * > &replacement)
replace the stop edge with the closest edge on the given edge list in all stops
void setIsMultipleStopPositions(bool multipleStopPositions, long long int areaID)
SVCPermissions getPermissions() const
const std::string & getEdgeId() const
bool myIsLoose
whether the stop was not part of the road network and must be mapped
const double myParkingLength
const Position & getPosition() const
const std::string getOrigEdgeId() const
const std::string getName() const
bool myIsPlatform
whether this stop was build from a platform position
Static storage of an output device and its base (abstract) implementation.
An upper class for objects with additional parameters.
A point in 2D or 3D with translation and scaling methods.