DART 6.12.2
Loading...
Searching...
No Matches
Geometry-impl.hpp File Reference
#include <unordered_map>
#include "dart/external/convhull_3d/convhull_3d.h"
#include "dart/math/Geometry.hpp"

Go to the source code of this file.

Namespaces

namespace  dart
 
namespace  dart::math
 

Functions

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.