|
Thunderbots Project
|
#include <spline2d.h>
Public Member Functions | |
| double | getParametrizationStartVal () const |
| double | getParametrizationEndVal () const |
| const Polynomial2d & | getPolynomial () const |
Protected Member Functions | |
| SplineSegment2d (double start_val, double end_val, Polynomial2d polynomial) | |
Friends | |
| class | Spline2d |
A segment of a spline, defined by a 2d polynomial, and the start and end values that define the section of the 2d polynomial that is part of the spline
|
protected |
Construct a SplineSegment2d
This is private since we only want to be able to create one inside the Spline2d class (a friend class of this one)
| start_val | The first value at which to evaluate the polynomial that lies on the spline |
| end_val | The last value at which to evaluate the polynomial that lies on the spline |
| polynomial | The polynomial, part of which is on the spline |
| double getParametrizationEndVal | ( | ) | const |
Get the last input to the polynomial that falls on the spline
| double getParametrizationStartVal | ( | ) | const |
Get the first input to the polynomial that falls on the spline
| const Polynomial2d & getPolynomial | ( | ) | const |
Get the polynomial underlying this spline segment