68 public:
Vector3 GetPoint(
unsigned int _index)
const
79 public:
Vector3 GetTangent(
unsigned int _index)
const
92 public:
void UpdatePoint(
unsigned int _index,
const Vector3 &_value)
107 public:
Vector3 Interpolate(
unsigned int _fromIndex,
double _t)
const
bool autoCalc
when true, the tangents are recalculated when the control point change
Definition: Spline.hh:136
The Vector3 class represents the generic vector containing 3 elements.
Definition: Vector3.hh:44
static const double GAZEBO_DEPRECATED(8.0) MAX_D
Double maximum value. This value will be similar to 1.79769e+308.
Definition: Helpers.hh:140
A 3x3 matrix class.
Definition: Matrix4.hh:40
Splines.
Definition: Spline.hh:37
std::vector< Vector3 > tangents
tangents
Definition: Spline.hh:142
double tension
Tension of 0 = Catmull-Rom spline, otherwise a Cardinal spline.
Definition: Spline.hh:148
std::vector< Vector3 > points
control points
Definition: Spline.hh:139
Matrix4 coeffs
Matrix of coefficients.
Definition: Spline.hh:145