15 #ifndef GEOMETRY__SPLINE__CATMULL_ROM_SUBSPLINE_HPP_
16 #define GEOMETRY__SPLINE__CATMULL_ROM_SUBSPLINE_HPP_
22 #include <geometry_msgs/msg/point.hpp>
37 std::shared_ptr<math::geometry::CatmullRomSpline> spline,
const double start_s,
39 : spline_(spline), start_s_(start_s), end_s_(end_s)
46 const std::vector<geometry_msgs::msg::Point> & polygon,
47 const bool search_backward =
false)
const override;
50 std::shared_ptr<math::geometry::CatmullRomSpline> spline_;
Definition: catmull_rom_spline_interface.hpp:30
Definition: catmull_rom_subspline.hpp:33
double getLength() const override
Definition: catmull_rom_subspline.cpp:24
CatmullRomSubspline(std::shared_ptr< math::geometry::CatmullRomSpline > spline, const double start_s, const double end_s)
Definition: catmull_rom_subspline.hpp:36
~CatmullRomSubspline() override=default
std::optional< double > getCollisionPointIn2D(const std::vector< geometry_msgs::msg::Point > &polygon, const bool search_backward=false) const override
Definition: catmull_rom_subspline.cpp:26
Definition: bounding_box.hpp:32