|
This file is part of ArmarX. More...
Typedefs | |
using | point_type = boost::geometry::model::d2::point_xy< float > |
using | polygon_type = boost::geometry::model::polygon< point_type > |
Functions | |
float | computeDistance (const std::vector< polygon_type > &obstacles, const Eigen::Vector2f &pt) |
point_type | toPoint (const Eigen::Vector2f &pt) |
polygon_type | toPolygon (const std::vector< Eigen::Vector2f > &hull) |
This file is part of ArmarX.
ArmarX is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License version 2 as published by the Free Software Foundation.
ArmarX is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License along with this program. If not, see http://www.gnu.org/licenses/.
using point_type = boost::geometry::model::d2::point_xy<float> |
Definition at line 33 of file geometry.h.
using polygon_type = boost::geometry::model::polygon<point_type> |
Definition at line 34 of file geometry.h.
float computeDistance | ( | const std::vector< polygon_type > & | obstacles, |
const Eigen::Vector2f & | pt | ||
) |
Definition at line 12 of file geometry.cpp.
point_type toPoint | ( | const Eigen::Vector2f & | pt | ) |
polygon_type toPolygon | ( | const std::vector< Eigen::Vector2f > & | hull | ) |
Definition at line 30 of file geometry.cpp.