53 NBPTStop(std::string ptStopId,
Position position, std::string edgeId, std::string origEdgeId,
double length, std::string name,
55 std::string
getID()
const;
59 const std::string
getName()
const;
77 void addAccess(std::string laneID,
double offset,
double length);
83 void addLine(
const std::string& line);
132 std::vector<std::tuple<std::string, double, double>>
myAccesses;
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
NBPTStop & operator=(const NBPTStop &)
Invalidated assignment operator.
bool findLaneAndComputeBusStopExtent(const NBEdgeCont &ec)
void addPlatformCand(NBPTPlatform platform)
void clearAccess()
remove all access definitions
std::vector< NBPTPlatform > myPlatformCands
std::vector< std::string > myLines
list of public transport lines (for displaying)
bool setEdgeId(std::string edgeId, const NBEdgeCont &ec)
const std::string getEdgeId() const
void computeExtent(double center, double d)
std::string getID() const
NBPTStop(std::string ptStopId, Position position, std::string edgeId, std::string origEdgeId, double length, std::string name, SVCPermissions svcPermissions, double parkingLength=0)
Constructor.
void mirrorX()
mirror coordinates along the x-axis
bool getIsMultipleStopPositions() const
void addAccess(std::string laneID, double offset, double length)
void write(OutputDevice &device)
const std::vector< NBPTPlatform > & getPlatformCands()
std::vector< std::tuple< std::string, double, double > > myAccesses
laneId, lanePos, accessLength
void setMyOrigEdgeId(const std::string &myOrigEdgeId)
void addLine(const std::string &line)
register line that services this stop (for displaying)
void reshiftPosition(const double offsetX, const double offsetY)
void setBidiStop(NBPTStop *bidiStop)
NBPTStop * getBidiStop() const
void setMyPTStopLength(double myPTStopLength)
SVCPermissions getPermissions() const
const std::map< std::string, std::string > & getMyAdditionalEdgeCandidates() const
bool myIsLoose
whether the stop was not part of the road network and must be mapped
void setIsMultipleStopPositions(bool multipleStopPositions)
const double myParkingLength
void setMyPTStopId(std::string id)
const Position & getPosition() const
const std::string getOrigEdgeId() const
const std::string getName() const
Static storage of an output device and its base (abstract) implementation.
A point in 2D or 3D with translation and scaling methods.