/dports/cad/sumo/sumo-1.2.0/src/netimport/ |
H A D | NIXMLShapeHandler.cpp | 41 NIXMLShapeHandler::getLanePos(const std::string& poiID, const std::string& laneID, double lanePos, … in getLanePos() argument 50 if (lanePos < 0) { in getLanePos() 51 lanePos = edge->getLength() + lanePos; in getLanePos() 53 if (lanePos < 0 || lanePos > edge->getLength()) { in getLanePos() 54 … WRITE_WARNING("lane position " + toString(lanePos) + " for poi '" + poiID + "' is not valid."); in getLanePos() 56 return edge->getLanes()[laneIndex].shape.positionAtOffset(lanePos, -lanePosLat); in getLanePos()
|
H A D | NIXMLShapeHandler.h | 47 …Position getLanePos(const std::string& poiID, const std::string& laneID, double lanePos, double la…
|
/dports/cad/sumo/sumo-1.2.0/src/libsumo/ |
H A D | Helper.h | 155 … double& bestDistance, MSLane** lane, double& lanePos, int& routeOffset, ConstMSEdgeVector& edges); 159 double& bestDistance, MSLane** lane, double& lanePos, int& routeOffset); 167 …dist(dist_), perpendicularDist(perpendicularDist_), lanePos(lanePos_), angleDiff(angleDiff_), ID(I… in LaneUtility() 174 double lanePos; variable
|
H A D | Person.cpp | 590 double lanePos; in moveToXY() local 618 bestDistance, &lane, lanePos, routeOffset); in moveToXY() 623 bestDistance, &lane, lanePos, routeOffset, edges); in moveToXY() 649 pos = lane->geometryPositionAtOffset(lanePos, -lanePosLat); in moveToXY() 654 angle = GeomHelper::naviDegree(lane->getShape().rotationAtOffset(lanePos)); in moveToXY() 662 …Helper::setRemoteControlled(p, pos, lane, lanePos, lanePosLat, angle, routeOffset, edges, MSNet::g… in moveToXY()
|
H A D | Helper.cpp | 793 …double& bestDistance, MSLane** lane, double& lanePos, int& routeOffset, ConstMSEdgeVector& edges) { in moveToXYMap() argument 952 lanePos = bestLane->getShape().nearest_offset_to_point25D(pos, false); in moveToXYMap() 1004 double& bestDistance, MSLane** lane, double& lanePos, int& routeOffset) { in moveToXYMap_matchingRoutePosition() argument 1067 lanePos = MAX2(0., MIN2(double((*lane)->getLength() - POSITION_EPS), in moveToXYMap_matchingRoutePosition() 1072 std::cout << " b ok lane " << (*lane)->getID() << " lanePos:" << lanePos << std::endl; in moveToXYMap_matchingRoutePosition()
|
H A D | Vehicle.cpp | 1153 double lanePos; 1167 bestDistance, &lane, lanePos, routeOffset); 1173 bestDistance, &lane, lanePos, routeOffset, edges); 1197 pos.setz(lane->geometryPositionAtOffset(lanePos).z()); 1201 pos = lane->geometryPositionAtOffset(lanePos, -lanePosLat); 1206 angle = GeomHelper::naviDegree(lane->getShape().rotationAtOffset(lanePos)); 1213 …Helper::setRemoteControlled(veh, pos, lane, lanePos, lanePosLat, angle, routeOffset, edges, MSNet:…
|
/dports/cad/sumo/sumo-1.2.0/src/microsim/devices/ |
H A D | MSDevice_BTsender.h | 149 … : speed(_speed), position(_position), laneID(_laneID), lanePos(_lanePos), routePos(_routePos) {} in VehicleState() 161 double lanePos; variable
|
H A D | MSDevice_BTreceiver.cpp | 342 … .writeAttr("observerLaneIDBeg", obsBeg.laneID).writeAttr("observerLanePosBeg", obsBeg.lanePos) in writeOutput() 344 … .writeAttr("seenLaneIDBeg", seenBeg.laneID).writeAttr("seenLanePosBeg", seenBeg.lanePos); in writeOutput() 349 … .writeAttr("observerLaneIDEnd", obsEnd.laneID).writeAttr("observerLanePosEnd", obsEnd.lanePos) in writeOutput() 351 .writeAttr("seenLaneIDEnd", seenEnd.laneID).writeAttr("seenLanePosEnd", seenEnd.lanePos) in writeOutput() 356 …erverLaneID", (*l)->observerState.laneID).writeAttr("observerLanePos", (*l)->observerState.lanePos) in writeOutput() 358 … .writeAttr("seenLaneID", (*l)->seenState.laneID).writeAttr("seenLanePos", (*l)->seenState.lanePos) in writeOutput()
|
/dports/cad/sumo/sumo-1.2.0/src/utils/shapes/ |
H A D | ShapeHandler.cpp | 121 const double lanePos = attrs.getOpt<double>(SUMO_ATTR_POSITION, id.c_str(), ok, 0); in addPOI() local 155 pos = getLanePos(id, laneID, lanePos, lanePosLat); in addPOI() 179 …if (!myShapeContainer.addPOI(id, type, color, pos, useGeo, laneID, lanePos, lanePosLat, layer, ang… in addPOI() 185 myLastParameterised->setParameter(toString(SUMO_ATTR_POSITION), toString(lanePos)); in addPOI()
|
H A D | ShapeHandler.h | 92 …virtual Position getLanePos(const std::string& poiID, const std::string& laneID, double lanePos, d…
|
/dports/cad/sumo/sumo-1.2.0/src/polyconvert/ |
H A D | PCLoaderXML.cpp | 125 PCLoaderXML::getLanePos(const std::string& poiID, const std::string& laneID, double lanePos, double… in getLanePos() argument 126 static_cast<PCPolyContainer&>(myShapeContainer).addLanePos(poiID, laneID, lanePos, lanePosLat); in getLanePos()
|
H A D | PCPolyContainer.cpp | 98 PCPolyContainer::addLanePos(const std::string& poiID, const std::string& laneID, double lanePos, do… in addLanePos() argument 99 myLanePosPois[poiID] = LanePos(laneID, lanePos, lanePosLat); in addLanePos()
|
H A D | PCLoaderXML.h | 68 …Position getLanePos(const std::string& poiID, const std::string& laneID, double lanePos, double la…
|
H A D | PCPolyContainer.h | 98 …void addLanePos(const std::string& poiID, const std::string& laneID, double lanePos, double lanePo…
|
/dports/cad/sumo/sumo-1.2.0/src/microsim/pedestrians/ |
H A D | MSPModel.h | 151 virtual void moveToXY(MSPerson* p, Position pos, MSLane* lane, double lanePos, in moveToXY() argument 157 UNUSED_PARAMETER(lanePos); in moveToXY()
|
H A D | MSPModel_Striping.h | 275 void moveToXY(MSPerson* p, Position pos, MSLane* lane, double lanePos,
|
H A D | MSPModel_Striping.cpp | 1833 MSPModel_Striping::PState::moveToXY(MSPerson* p, Position pos, MSLane* lane, double lanePos, in moveToXY() argument 1871 myRelX = lanePos; in moveToXY()
|
/dports/cad/sumo/sumo-1.2.0/src/microsim/ |
H A D | MSStoppingPlace.cpp | 145 double lanePos = getWaitingPositionOnLane(t); in getWaitPosition() local 156 return myLane.getShape().positionAtOffset(myLane.interpolateLanePosToGeometryPos(lanePos), in getWaitPosition()
|
H A D | MSLane.h | 493 inline double interpolateLanePosToGeometryPos(double lanePos) const { in interpolateLanePosToGeometryPos() argument 494 return lanePos * myLengthGeometryFactor; in interpolateLanePosToGeometryPos()
|
/dports/cad/sumo/sumo-1.2.0/src/netload/ |
H A D | NLHandler.cpp | 1445 NLShapeHandler::getLanePos(const std::string& poiID, const std::string& laneID, double lanePos, dou… in getLanePos() argument 1451 if (lanePos < 0) { in getLanePos() 1452 lanePos = lane->getLength() + lanePos; in getLanePos() 1454 if (lanePos < 0 || lanePos > lane->getLength()) { in getLanePos() 1455 … WRITE_WARNING("lane position " + toString(lanePos) + " for poi '" + poiID + "' is not valid."); in getLanePos() 1457 return lane->geometryPositionAtOffset(lanePos, -lanePosLat); in getLanePos()
|
H A D | NLHandler.h | 65 …Position getLanePos(const std::string& poiID, const std::string& laneID, double lanePos, double la…
|
/dports/cad/sumo/sumo-1.2.0/src/netedit/additionals/ |
H A D | GNEAdditionalHandler.cpp | 146 …::getLanePos(const std::string& poiID, const std::string& laneID, double lanePos, double lanePosLa… in getLanePos() argument 155 if (lanePos < 0) { in getLanePos() 156 lanePos = edge->getLength() + lanePos; in getLanePos() 158 if (lanePos < 0 || lanePos > edge->getLength()) { in getLanePos() 159 … WRITE_WARNING("lane position " + toString(lanePos) + " for poi '" + poiID + "' is not valid."); in getLanePos() 161 return edge->getLanes()[laneIndex].shape.positionAtOffset(lanePos, -lanePosLat); in getLanePos() 2349 …double lanePos = attrs.hasAttribute(SUMO_ATTR_POSITION) ? GNEAttributeCarrier::parseAttributeFromX… in parseAndBuildPOI() local 2378 pos = getLanePos(POIID, laneID, lanePos, lanePosLat); in parseAndBuildPOI() 2398 …if (!myShapeContainer.addPOI(POIID, type, color, pos, useGeo, laneID, lanePos, lanePosLat, layer, … in parseAndBuildPOI()
|
H A D | GNEAdditional.cpp | 422 const double lanePos = lane->getShape().nearest_offset_to_point2D(myGeometry.shape[0]); in getPopUpMenu() local 423 …r position over " + toString(SUMO_TAG_LANE) + ": " + toString(innerPos + lanePos)).c_str(), nullpt… in getPopUpMenu()
|
H A D | GNEAdditionalHandler.h | 102 …Position getLanePos(const std::string& poiID, const std::string& laneID, double lanePos, double la…
|
/dports/cad/sumo/sumo-1.2.0/src/guisim/ |
H A D | GUIEdge.cpp | 533 const double lanePos = shape.nearest_offset_to_point2D(pos); in getSegmentAtPosition() local 534 return MSGlobals::gMesoNet->getSegmentForEdge(*this, lanePos); in getSegmentAtPosition()
|