Commit 91c4e3a9 by JasonChmn Committed by Pierre Fernbach

### [cubic hermite spline] Delete Tangent from template (same as Point)

parent edf6cbc9
 ... @@ -31,11 +31,10 @@ namespace curves ... @@ -31,11 +31,10 @@ namespace curves /// - has its derivatives on \f\$P_i\f\$ and \f\$P_{i+1}\f\$ are \f\$p'(t_{P_i}) = m_i\f\$ and \f\$p'(t_{P_{i+1}}) = m_{i+1}\f\$. /// - has its derivatives on \f\$P_i\f\$ and \f\$P_{i+1}\f\$ are \f\$p'(t_{P_i}) = m_i\f\$ and \f\$p'(t_{P_{i+1}}) = m_{i+1}\f\$. /// /// template, typename Point= Eigen::Matrix > typename Tangent= Eigen::Matrix > struct cubic_hermite_spline : public curve_abc struct cubic_hermite_spline : public curve_abc { { typedef std::pair pair_point_tangent_t; typedef std::pair pair_point_tangent_t; typedef std::vector< pair_point_tangent_t ,Eigen::aligned_allocator > t_pair_point_tangent_t; typedef std::vector< pair_point_tangent_t ,Eigen::aligned_allocator > t_pair_point_tangent_t; typedef std::vector
 ... @@ -22,9 +22,8 @@ ... @@ -22,9 +22,8 @@ using namespace curves; using namespace curves; typedef double real; typedef double real; typedef Eigen::Vector3d point3_t; typedef Eigen::Vector3d point3_t; typedef Eigen::Vector3d tangent_t; typedef std::pair pair_point3_tangent_t; typedef Eigen::Matrix ret_point3_t; typedef Eigen::Matrix ret_point3_t; typedef std::pair pair_point3_tangent_t; typedef Eigen::VectorXd time_waypoints_t; typedef Eigen::VectorXd time_waypoints_t; typedef Eigen::Matrix point_list_t; typedef Eigen::Matrix point_list_t; typedef Eigen::Matrix point_list6_t; typedef Eigen::Matrix point_list6_t; ... ...
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment