27#include <boost/geometry.hpp>
28#include <boost/geometry/geometries/point_xy.hpp>
29#include <boost/geometry/geometries/polygon.hpp>
35 using point_type = boost::geometry::model::d2::point_xy<float>;
41 float computeDistance(
const std::vector<polygon_type>& obstacles,
const Eigen::Vector2f& pt);
This file is part of ArmarX.
Eigen::Vector2f fromPoint(const point_type &pt)
boost::geometry::model::d2::point_xy< float > point_type
point_type toPoint(const Eigen::Vector2f &pt)
polygon_type toPolygon(const std::vector< Eigen::Vector2f > &hull)
float computeDistance(const std::vector< polygon_type > &obstacles, const Eigen::Vector2f &pt)
boost::geometry::model::polygon< point_type > polygon_type