|
MRSL DecompUtil Library
0.1
An implementaion of convex decomposition over point cloud
|
Polyhedron class. More...
#include <polyhedron.h>
Public Member Functions | |
| Polyhedron () | |
| Null constructor. | |
| Polyhedron (const vec_E< Hyperplane< Dim >> &vs) | |
| Construct from Hyperplane array. | |
| void | add (const Hyperplane< Dim > &v) |
| Append Hyperplane. | |
| bool | inside (const Vecf< Dim > &pt) const |
| Check if the point is inside polyhedron, non-exclusive. | |
| vec_Vecf< Dim > | points_inside (const vec_Vecf< Dim > &O) const |
| Calculate points inside polyhedron, non-exclusive. | |
| vec_E< std::pair< Vecf< Dim >, Vecf< Dim > > > | cal_normals () const |
| Calculate normals, used for visualization. | |
| vec_E< Hyperplane< Dim > > | hyperplanes () const |
| Get the hyperplane array. | |
Public Attributes | |
| vec_E< Hyperplane< Dim > > | vs_ |
| Hyperplane array. | |
Polyhedron class.
1.8.11