/****************************************************************************/1// Eclipse SUMO, Simulation of Urban MObility; see https://eclipse.dev/sumo2// Copyright (C) 2001-2025 German Aerospace Center (DLR) and others.3// This program and the accompanying materials are made available under the4// terms of the Eclipse Public License 2.0 which is available at5// https://www.eclipse.org/legal/epl-2.0/6// This Source Code may also be made available under the following Secondary7// Licenses when the conditions for such availability set forth in the Eclipse8// Public License 2.0 are satisfied: GNU General Public License, version 29// or later which is available at10// https://www.gnu.org/licenses/old-licenses/gpl-2.0-standalone.html11// SPDX-License-Identifier: EPL-2.0 OR GPL-2.0-or-later12/****************************************************************************/13/// @file GNELane2laneConnection.h14/// @author Pablo Alvarez Lopez15/// @date Nov 201916///17// File for lane2lane geometry classes and functions18/****************************************************************************/19#pragma once20#include <config.h>2122#include <utils/gui/div/GUIGeometry.h>232425// ===========================================================================26// class declarations27// ===========================================================================28class GNELane;2930// ===========================================================================31// class definitions32// ===========================================================================3334/// @brief class lane2lane connection geometry35class GNELane2laneConnection {3637public:38/// @brief constructor39GNELane2laneConnection(const GNELane* fromLane);4041/// @brief update42void updateLane2laneConnection();4344/// @brief check if exist a lane2lane geometry for the given toLane45bool exist(const GNELane* toLane) const;4647/// @brief get lane2lane geometry48const GUIGeometry& getLane2laneGeometry(const GNELane* toLane) const;4950protected:51/// @brief from lane52const GNELane* myFromLane;5354/// @brief connection shape55std::map<const GNELane*, GUIGeometry> myConnectionsMap;5657private:58/// @brief constructor59GNELane2laneConnection();6061/// @brief Invalidated assignment operator62GNELane2laneConnection& operator=(const GNELane2laneConnection& other) = delete;63};646566