#include <catmull_rom_subspline.hpp>
◆ ~CatmullRomSubspline()
math::geometry::CatmullRomSubspline::~CatmullRomSubspline |
( |
| ) |
|
|
overridedefault |
◆ CatmullRomSubspline()
math::geometry::CatmullRomSubspline::CatmullRomSubspline |
( |
std::shared_ptr< math::geometry::CatmullRomSpline > |
spline, |
|
|
const double |
start_s, |
|
|
const double |
end_s |
|
) |
| |
|
inlineexplicit |
◆ getCollisionPointIn2D()
std::optional< double > math::geometry::CatmullRomSubspline::getCollisionPointIn2D |
( |
const std::vector< geometry_msgs::msg::Point > & |
polygon, |
|
|
const bool |
search_backward = false |
|
) |
| const |
|
overridevirtual |
- Note
- Make sure end is greater than start, otherwise the spline is invalid
-
Iterators for the range of this subspline
-
If begin == end there is no collision in the given range, or it is past the range If begin == s_value_candidates.end() all elements are less than start_s_ end == s_value_candidates.end() is valid, all elements are less than end_s_
Implements math::geometry::CatmullRomSplineInterface.
◆ getLength()
double math::geometry::CatmullRomSubspline::getLength |
( |
| ) |
const |
|
overridevirtual |
The documentation for this class was generated from the following files: