hpp-spline  4.10.0
template based classes for creating and manipulating spline and bezier curves. Comes with extra options specific to end-effector trajectories in robotics.
spline::curve_abc< Time, Numeric, Dim, Safe, Point > Struct Template Referenceabstract

Represents a curve of dimension Dim is Safe is false, no verification is made on the evaluation of the curve. More...

#include <hpp/spline/curve_abc.h>

Inheritance diagram for spline::curve_abc< Time, Numeric, Dim, Safe, Point >:
Collaboration diagram for spline::curve_abc< Time, Numeric, Dim, Safe, Point >:

Public Types

typedef Point point_t
 
typedef Time time_t
 

Public Member Functions

 curve_abc ()
 Constructor. More...
 
virtual ~curve_abc ()
 Destructor. More...
 
virtual point_t operator() (const time_t t) const =0
 Evaluation of the cubic spline at time t. More...
 
virtual point_t derivate (const time_t t, const std::size_t order) const =0
 Evaluation of the derivative spline at time t. More...
 
virtual time_t min () const =0
 Returns the minimum time for wich curve is defined. More...
 
virtual time_t max () const =0
 Returns the maximum time for wich curve is defined. More...
 
std::pair< time_t, time_ttimeRange ()
 

Detailed Description

template<typename Time = double, typename Numeric = Time, std::size_t Dim = 3, bool Safe = false, typename Point = Eigen::Matrix<Numeric, Dim, 1>>
struct spline::curve_abc< Time, Numeric, Dim, Safe, Point >

Represents a curve of dimension Dim is Safe is false, no verification is made on the evaluation of the curve.

Member Typedef Documentation

◆ point_t

template<typename Time = double, typename Numeric = Time, std::size_t Dim = 3, bool Safe = false, typename Point = Eigen::Matrix<Numeric, Dim, 1>>
typedef Point spline::curve_abc< Time, Numeric, Dim, Safe, Point >::point_t

◆ time_t

template<typename Time = double, typename Numeric = Time, std::size_t Dim = 3, bool Safe = false, typename Point = Eigen::Matrix<Numeric, Dim, 1>>
typedef Time spline::curve_abc< Time, Numeric, Dim, Safe, Point >::time_t

Constructor & Destructor Documentation

◆ curve_abc()

template<typename Time = double, typename Numeric = Time, std::size_t Dim = 3, bool Safe = false, typename Point = Eigen::Matrix<Numeric, Dim, 1>>
spline::curve_abc< Time, Numeric, Dim, Safe, Point >::curve_abc ( )
inline

Constructor.

◆ ~curve_abc()

template<typename Time = double, typename Numeric = Time, std::size_t Dim = 3, bool Safe = false, typename Point = Eigen::Matrix<Numeric, Dim, 1>>
virtual spline::curve_abc< Time, Numeric, Dim, Safe, Point >::~curve_abc ( )
inlinevirtual

Destructor.

Member Function Documentation

◆ derivate()

◆ max()

◆ min()

◆ operator()()

◆ timeRange()

template<typename Time = double, typename Numeric = Time, std::size_t Dim = 3, bool Safe = false, typename Point = Eigen::Matrix<Numeric, Dim, 1>>
std::pair<time_t, time_t> spline::curve_abc< Time, Numeric, Dim, Safe, Point >::timeRange ( )
inline

The documentation for this struct was generated from the following file: