#include <unordered_map>
#include "dart/external/convhull_3d/convhull_3d.h"
#include "dart/math/Geometry.hpp"
Go to the source code of this file.
|
template<typename S , typename Index > |
std::tuple< std::vector< Eigen::Matrix< S, 3, 1 > >, std::vector< Eigen::Matrix< Index, 3, 1 > > > | dart::math::discardUnusedVertices (const std::vector< Eigen::Matrix< S, 3, 1 > > &vertices, const std::vector< Eigen::Matrix< Index, 3, 1 > > &triangles) |
|
template<typename S , typename Index > |
std::tuple< std::vector< Eigen::Matrix< S, 3, 1 > >, std::vector< Eigen::Matrix< Index, 3, 1 > > > | dart::math::computeConvexHull3D (const std::vector< Eigen::Matrix< S, 3, 1 > > &vertices, bool optimize=true) |
| Generates a 3D convex hull given vertices and indices.
|
|