56 NBPTStop(std::string ptStopId,
Position position, std::string edgeId, std::string origEdgeId,
double length, std::string name,
62 std::string
getID()
const;
68 const std::string
getName()
const;
111 void addAccess(std::string laneID,
double offset,
double length);
117 void addLine(
const std::string& line);
175 std::vector<std::tuple<std::string, double, double>>
myAccesses;
std::vector< NBEdge * > EdgeVector
container for (sorted) edges
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
void setPTStopLength(double ptStopLength)
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
bool replaceEdge(const std::string &edgeID, const EdgeVector &replacement)
replace the stop edge with the closest edge on the given edge list in all stops
void setOrigEdgeId(const std::string &origEdgeId)
void computeExtent(double center, double d)
std::string getID() const
void mirrorX()
mirror coordinates along the x-axis
bool getIsMultipleStopPositions() const
NBPTStop(std::string ptStopId, Position position, std::string edgeId, std::string origEdgeId, double length, std::string name, SVCPermissions svcPermissions, double parkingLength=0, const RGBColor color=RGBColor(false))
Constructor.
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
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 reshiftPosition(const double offsetX, const double offsetY)
void setBidiStop(NBPTStop *bidiStop)
NBPTStop * getBidiStop() const
void setIsMultipleStopPositions(bool multipleStopPositions, long long int areaID)
SVCPermissions getPermissions() 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::vector< std::string > & getLines() const
const std::map< std::string, std::string > & getAdditionalEdgeCandidates() 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.