1#ifndef SEGMENTEDQUINTICBEZIERTOOLKIT_H_
2#define SEGMENTEDQUINTICBEZIERTOOLKIT_H_
39#include <rbdl/rbdl_config.h>
305 const std::vector<RigidBodyDynamics::Math::VectorNd>& bezierPtsX);
596 double x1,
double y1,
764 std::string& filename);
779 std::string& filename);
static double calcQuinticBezierCurveVal(double u, const RigidBodyDynamics::Math::VectorNd &pts)
static int calcIndex(double x, const RigidBodyDynamics::Math::MatrixNd &bezierPtsX)
static int calcIndex(double x, const std::vector< RigidBodyDynamics::Math::VectorNd > &bezierPtsX)
static double clampU(double u)
static double calcU(double ax, const RigidBodyDynamics::Math::VectorNd &bezierPtsX, double tol, int maxIter)
static void printBezierSplineFitCurves(const Function_< double > &curveFit, RigidBodyDynamics::Math::MatrixNd &ctrlPts, RigidBodyDynamics::Math::VectorNd &xVal, RigidBodyDynamics::Math::VectorNd &yVal, std::string &filename)
static void printMatrixToFile(const RigidBodyDynamics::Math::VectorNd &col0, const RigidBodyDynamics::Math::MatrixNd &data, std::string &filename)
static double calcQuinticBezierCurveDerivDYDX(double u, const RigidBodyDynamics::Math::VectorNd &xpts, const RigidBodyDynamics::Math::VectorNd &ypts, int order)
static RigidBodyDynamics::Math::MatrixNd calcQuinticBezierCornerControlPoints(double x0, double y0, double dydx0, double x1, double y1, double dydx1, double curviness)
static double scaleCurviness(double curviness)
static double calcQuinticBezierCurveDerivU(double u, const RigidBodyDynamics::Math::VectorNd &pts, int order)