MRSL DecompUtil Library  0.1
An implementaion of convex decomposition over point cloud
Public Member Functions | Public Attributes | List of all members
Polyhedron< Dim > Struct Template Reference

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.
 

Detailed Description

template<int Dim>
struct Polyhedron< Dim >

Polyhedron class.


The documentation for this struct was generated from the following file: