Curves
A library for curves generation.
VectorSpaceCurve.hpp
Go to the documentation of this file.
1 /*
2  * ScalarCurveConfig.hpp
3  *
4  * Created on: Mar 5, 2015
5  * Author: Paul Furgale, Renaud Dube, P├ęter Fankhauser
6  * Institute: ETH Zurich, Autonomous Systems Lab
7  */
8 
9 #pragma once
10 
11 #include "curves/Curve.hpp"
13 
14 namespace curves {
15 
16 template <int N>
17 class VectorSpaceCurve : public Curve<VectorSpaceConfig<N> >
18 {
19  public:
21  typedef typename Parent::ValueType ValueType;
23 
25  virtual ~VectorSpaceCurve() {}
26 
28  size_t dim() const {
29  return N;
30  }
31 
32  private:
34  size_t dimension_;
35 };
36 
37 } // namespace
VectorSpaceConfig< N >::DerivativeType DerivativeType
The curve&#39;s derivative type.
Definition: Curve.hpp:25
Curve< VectorSpaceConfig< N > > Parent
size_t dimension_
The dimension of the vector space.
Parent::DerivativeType DerivativeType
VectorSpaceConfig< N >::ValueType ValueType
The value type of the curve.
Definition: Curve.hpp:22
size_t dim() const
Get the dimension of this curve.
Parent::ValueType ValueType