15 #ifndef GEOMETRY__SPLINE__CATMULL_ROM_SPLINE_INTERFACE_HPP_
16 #define GEOMETRY__SPLINE__CATMULL_ROM_SPLINE_INTERFACE_HPP_
19 #include <geometry_msgs/msg/point.hpp>
35 const std::vector<geometry_msgs::msg::Point> & polygon,
const bool search_backward =
false,
36 const std::optional<std::pair<double, double>> & s_range = std::nullopt)
const = 0;
Definition: catmull_rom_spline_interface.hpp:30
virtual std::optional< double > getCollisionPointIn2D(const std::vector< geometry_msgs::msg::Point > &polygon, const bool search_backward=false, const std::optional< std::pair< double, double >> &s_range=std::nullopt) const =0
virtual double getLength() const =0
virtual double getSquaredDistanceIn2D(const geometry_msgs::msg::Point &point, const double s) const =0
virtual ~CatmullRomSplineInterface()=default
Definition: bounding_box.hpp:32
geometry_msgs::msg::Point Point
Definition: lanelet_wrapper.hpp:65