|
| rotation_spline (quat_ref_const_t quat_from=quat_t(0, 0, 0, 1), quat_ref_const_t quat_to=quat_t(0, 0, 0, 1), const double min=0., const double max=1.) |
|
| ~rotation_spline () |
|
rotation_spline & | operator= (const rotation_spline &from) |
|
quat_t | operator() (const Numeric t) const |
|
bool | isApprox (const rotation_spline &other, const Numeric prec=Eigen::NumTraits< Numeric >::dummy_precision()) const |
| isApprox check if other and *this are approximately equals. More...
|
|
virtual bool | isApprox (const curve_abc_quat_t *other, const Numeric prec=Eigen::NumTraits< Numeric >::dummy_precision()) const |
|
virtual bool | operator== (const rotation_spline &other) const |
|
virtual bool | operator!= (const rotation_spline &other) const |
|
virtual quat_t | derivate (time_t, std::size_t) const |
|
curve_abc_quat_t * | compute_derivate_ptr (const std::size_t) const |
| Compute the derived curve at order N. More...
|
|
exact_cubic_constraint_one_dim | computeWayPoints () const |
| Initialize time reparametrization for spline. More...
|
|
virtual std::size_t | dim () const |
| Get dimension of curve. More...
|
|
virtual time_t | min () const |
| Get the minimum time for which the curve is defined. More...
|
|
virtual time_t | max () const |
| Get the maximum time for which the curve is defined. More...
|
|
virtual std::size_t | degree () const |
| Get the degree of the curve. More...
|
|
| 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_derivate_t | derivate (const time_t t, const std::size_t order) const =0 |
| Evaluate the derivative of order N of curve at time t. More...
|
|
bool | isEquivalent (const curve_t *other, const Numeric prec=Eigen::NumTraits< Numeric >::dummy_precision(), const size_t order=5) const |
| isEquivalent check if other and *this are approximately equal by values, given a precision treshold. More...
|
|
virtual bool | isApprox (const curve_t *other, const Numeric prec=Eigen::NumTraits< Numeric >::dummy_precision()) const =0 |
| isApprox check if other and *this are approximately equals given a precision treshold Only two curves of the same class can be approximately equals, for comparison between different type of curves see isEquivalent. More...
|
|
std::pair< time_t, time_t > | timeRange () |
|
template<class Archive > |
void | serialize (Archive &, const unsigned int version) |
|
bool curves::helpers::rotation_spline::isApprox |
( |
const rotation_spline & |
other, |
|
|
const Numeric |
prec = Eigen::NumTraits<Numeric>::dummy_precision() |
|
) |
| const |
|
inline |
isApprox check if other and *this are approximately equals.
Only two curves of the same class can be approximately equals, for comparison between different type of curves see isEquivalent
- Parameters
-
other | the other curve to check |
prec | the precision treshold, default Eigen::NumTraits<Numeric>::dummy_precision() |
- Returns
- true is the two curves are approximately equals
References dim_, curves::exact_cubic< Time, Numeric, Safe, Point, T_Point, SplineBase >::isApprox(), max_, min_, quat_from_, quat_to_, and time_reparam_.
Referenced by isApprox(), and operator==().