TimedTrajectory.cpp
Go to the documentation of this file.
1 #include "TimedTrajectory.h"
2 #include <memory.h>
3 
4 armarx::TimedTrajectory::TimedTrajectory(armarx::TrajectoryPtr trajectory, std::vector<double> userPoints)
5 {
6  this->trajectory = trajectory;
7  this->userPoints = userPoints;
8 }
9 
11 {
12  return trajectory;
13 }
14 
15 std::vector<double> armarx::TimedTrajectory::getUserPoints() const
16 {
17  return userPoints;
18 }
armarx::TimedTrajectory::TimedTrajectory
TimedTrajectory(armarx::TrajectoryPtr trajectory, std::vector< double > userPoints)
Creates a TimedTrajectory out of the supplied Trajectory and userpoints.
Definition: TimedTrajectory.cpp:4
armarx::TimedTrajectory::getUserPoints
std::vector< double > getUserPoints() const
Returns the userPoints.
Definition: TimedTrajectory.cpp:15
IceInternal::Handle< Trajectory >
armarx::TimedTrajectory::getTrajectory
const armarx::TrajectoryPtr getTrajectory() const
Returns the contained Trajectory.
Definition: TimedTrajectory.cpp:10
TimedTrajectory.h
memory.h