46 #ifdef CHECK_MEMORY_LEAKS
48 #endif // CHECK_MEMORY_LEAKS
56 myVehicleParameter(0),
58 myActiveRouteColor(0),
200 const SUMOReal minLength,
const bool friendlyPos) {
201 if (minLength > laneLength) {
205 startPos += laneLength;
208 endPos += laneLength;
210 if (endPos < minLength || endPos > laneLength) {
214 if (endPos < minLength) {
217 if (endPos > laneLength) {
221 if (startPos < 0 || startPos > endPos - minLength) {
228 if (startPos > endPos - minLength) {
229 startPos = endPos - minLength;
270 errorSuffix =
" at '" + stop.
busstop +
"'" + errorSuffix;
272 errorSuffix =
" on lane '" + stop.
busstop +
"'" + errorSuffix;
283 errorOutput->
inform(
"Invalid duration or end time is given for a stop" + errorSuffix);
290 errorOutput->
inform(
"Invalid bool for 'triggered' or 'parking' for stop" + errorSuffix);
296 std::set<std::string> personIDs;
303 }
else if (idx ==
"fit") {
307 if (!ok || stop.
index < 0) {
308 errorOutput->
inform(
"Invalid 'index' for stop" + errorSuffix);