#include <Spline.h>
Inheritance diagram for Vamos_Geometry::Spline:


Public Member Functions | |
| Spline (double first_slope=0.0, double last_slope=0.0) | |
| Spline (const std::vector< Two_Point > &points, double first_slope=0.0, double last_slope=0.0) | |
| void | load (const Two_Point &point) |
| void | load (const std::vector< Two_Point > &points) |
| void | clear () |
| void | remove_greater (double limit) |
| void | scale (double factor) |
| double | interpolate (double dist) const |
| Two_Point | normal (double dist) const |
| size_t | size () const |
Private Member Functions | |
| void | calculate () const |
Private Attributes | |
| std::vector< Two_Point > | m_points |
| std::vector< double > | m_second_deriv |
| double | m_first_slope |
| double | m_last_slope |
| bool | m_calculated |
| double | m_slope |
| size_t | m_last_index |
Definition at line 27 of file Spline.h.
|
||||||||||||
|
|
|
||||||||||||||||
|
|
|
|
Definition at line 171 of file Spline.cc. References m_first_slope, and m_points. |
|
|
Implements Vamos_Geometry::Interpolator. Definition at line 71 of file Spline.cc. References m_calculated, and m_points. Referenced by Vamos_Body::Engine::set_torque_curve(), and Spline(). |
|
|
Implements Vamos_Geometry::Interpolator. Definition at line 116 of file Spline.cc. References m_points, and m_slope. Referenced by normal(). |
|
|
Implements Vamos_Geometry::Interpolator. Definition at line 58 of file Spline.cc. References m_points. |
|
|
Implements Vamos_Geometry::Interpolator. Definition at line 50 of file Spline.cc. References m_calculated, and m_points. Referenced by Vamos_Body::Engine::set_torque_curve(), and Spline(). |
|
|
Implements Vamos_Geometry::Interpolator. Definition at line 236 of file Spline.cc. References interpolate(), and m_slope. |
|
|
Implements Vamos_Geometry::Interpolator. |
|
|
Implements Vamos_Geometry::Interpolator. Definition at line 98 of file Spline.cc. References m_points. Referenced by Vamos_Body::Engine::set_torque_curve(). |
|
|
Definition at line 86 of file Spline.h. References m_points. Referenced by remove_greater(), and Vamos_Body::Engine::torque_map(). |
|
|
|
|
|
Definition at line 36 of file Spline.h. Referenced by calculate(). |
|
|
|
|
|
|
|
|
Definition at line 30 of file Spline.h. Referenced by calculate(), clear(), interpolate(), load(), remove_greater(), scale(), and size(). |
|
|
|
|
|
Definition at line 46 of file Spline.h. Referenced by interpolate(), and normal(). |
1.4.6