RobWorkProject
24.12.4-
|
interface for convexhull calculators on 3d point sets More...
#include <ConvexHull3D.hpp>
Inherited by QHull3D.
Public Types | |
typedef rw::core::Ptr< ConvexHull3D > | Ptr |
smart pointer type of this class | |
Public Member Functions | |
virtual | ~ConvexHull3D () |
destructor | |
virtual void | rebuild (const std::vector< rw::math::Vector3D< double >> &vertices)=0 |
rebuilts the hull More... | |
virtual bool | isInside (const rw::math::Vector3D< double > &vertex)=0 |
test if the given vertex is inside the convex hull | |
virtual double | getMinDistInside (const rw::math::Vector3D< double > &vertex)=0 |
If the vertex is inside the convex hull the minimum distance to any of the half-spaces of the hull is returned. If its not inside 0 is returned. More... | |
virtual double | getMinDistOutside (const rw::math::Vector3D< double > &vertex)=0 |
If the vertex is outside the convex hull the minimum distance to the convex hull is returned. If its not outside 0 is returned. More... | |
virtual rw::core::Ptr< rw::geometry::PlainTriMesh< rw::geometry::TriangleN1< double > > > | toTriMesh ()=0 |
create a plain trimesh from the hull facets More... | |
interface for convexhull calculators on 3d point sets
|
pure virtual |
If the vertex is inside the convex hull the minimum distance to any of the half-spaces of the hull is returned. If its not inside 0 is returned.
vertex |
Implemented in QHull3D.
|
pure virtual |
If the vertex is outside the convex hull the minimum distance to the convex hull is returned. If its not outside 0 is returned.
vertex |
Implemented in QHull3D.
|
pure virtual |
|
pure virtual |
create a plain trimesh from the hull facets
Implemented in QHull3D.