Home
last modified time | relevance | path

Searched refs:lanePos (Results 1 – 25 of 25) sorted by relevance

/dports/cad/sumo/sumo-1.2.0/src/netimport/
H A DNIXMLShapeHandler.cpp41 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 DNIXMLShapeHandler.h47 …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 DHelper.h155 … 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 DPerson.cpp590 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 DHelper.cpp793 …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 DVehicle.cpp1153 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 DMSDevice_BTsender.h149 … : speed(_speed), position(_position), laneID(_laneID), lanePos(_lanePos), routePos(_routePos) {} in VehicleState()
161 double lanePos; variable
H A DMSDevice_BTreceiver.cpp342 … .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 DShapeHandler.cpp121 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 DShapeHandler.h92 …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 DPCLoaderXML.cpp125 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 DPCPolyContainer.cpp98 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 DPCLoaderXML.h68 …Position getLanePos(const std::string& poiID, const std::string& laneID, double lanePos, double la…
H A DPCPolyContainer.h98 …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 DMSPModel.h151 virtual void moveToXY(MSPerson* p, Position pos, MSLane* lane, double lanePos, in moveToXY() argument
157 UNUSED_PARAMETER(lanePos); in moveToXY()
H A DMSPModel_Striping.h275 void moveToXY(MSPerson* p, Position pos, MSLane* lane, double lanePos,
H A DMSPModel_Striping.cpp1833 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 DMSStoppingPlace.cpp145 double lanePos = getWaitingPositionOnLane(t); in getWaitPosition() local
156 return myLane.getShape().positionAtOffset(myLane.interpolateLanePosToGeometryPos(lanePos), in getWaitPosition()
H A DMSLane.h493 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 DNLHandler.cpp1445 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 DNLHandler.h65 …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 DGNEAdditionalHandler.cpp146 …::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 DGNEAdditional.cpp422 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 DGNEAdditionalHandler.h102 …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 DGUIEdge.cpp533 const double lanePos = shape.nearest_offset_to_point2D(pos); in getSegmentAtPosition() local
534 return MSGlobals::gMesoNet->getSegmentForEdge(*this, lanePos); in getSegmentAtPosition()