24 lines
818 B
C++
Executable File
24 lines
818 B
C++
Executable File
#pragma once
|
|
|
|
#include "trajectory_point.h"
|
|
#include <Trajectory/trajectory_export.h>
|
|
|
|
#include <QVector>
|
|
#include <LtsUtilsCore/qpoint3d.h>
|
|
|
|
namespace AreaEffectSimulation
|
|
{
|
|
|
|
// prefer namespace instead of class with static member:
|
|
// https://stackoverflow.com/questions/1434937/namespace-functions-versus-static-methods-on-a-class
|
|
// https://stackoverflow.com/questions/1434937/namespace-functions-versus-static-methods-on-a-class#:~:text=You%20should%20use%20a%20namespace,can%20using%20a%20namespace%20member
|
|
|
|
|
|
namespace TrajectoryTransform
|
|
{
|
|
TRAJECTORY_EXPORT QVector<TrajectoryPoint> transformToNewTarget(const QVector<TrajectoryPoint>& originalTrajMetrical,
|
|
const LtsUtils::QPoint3D& newTargetMetrical);
|
|
}
|
|
|
|
} // namespace AreaEffectSimulation
|