|
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) |
Eigen::Vector2f | fromPoint (const point_type &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 35 of file geometry.h.
using polygon_type = boost::geometry::model::polygon<point_type> |
Definition at line 36 of file geometry.h.
float computeDistance | ( | const std::vector< polygon_type > & | obstacles, |
const Eigen::Vector2f & | pt | ||
) |
Definition at line 16 of file geometry.cpp.
Eigen::Vector2f fromPoint | ( | const point_type & | pt | ) |
point_type toPoint | ( | const Eigen::Vector2f & | pt | ) |
polygon_type toPolygon | ( | const std::vector< Eigen::Vector2f > & | hull | ) |
Definition at line 31 of file geometry.cpp.