Path: blob/main/src/netedit/elements/moving/GNEMoveOffset.cpp
185790 views
/****************************************************************************/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 GNEMoveOffset.cpp14/// @author Pablo Alvarez Lopez15/// @date Mar 202016///17// Class used for define move offset18/****************************************************************************/19#include <config.h>2021#include "GNEMoveOffset.h"2223// ===========================================================================24// Method definitions25// ===========================================================================2627GNEMoveOffset::GNEMoveOffset() :28x(0),29y(0),30z(0) {31}323334GNEMoveOffset::GNEMoveOffset(const double x_, const double y_) :35x(x_),36y(y_),37z(0) {38}394041GNEMoveOffset::GNEMoveOffset(const double z_) :42x(0),43y(0),44z(z_) {45}464748GNEMoveOffset::~GNEMoveOffset() {}4950/****************************************************************************/515253