MRSL DecompUtil Library
0.1
An implementaion of convex decomposition over point cloud
|
Seed Decomp Class. More...
#include <seed_decomp.h>
Public Member Functions | |
SeedDecomp () | |
Simple constructor. | |
SeedDecomp (const Vecf< Dim > &p) | |
Basic constructor. More... | |
void | dilate (decimal_t radius) |
Inflate the seed with a sphere. More... | |
Vecf< Dim > | get_seed () const |
Get the center. | |
Public Member Functions inherited from DecompBase< Dim > | |
DecompBase () | |
Null constructor. | |
void | set_local_bbox (const Vecf< Dim > &bbox) |
Adding local bounding box around line seg. More... | |
void | set_obs (const vec_Vecf< Dim > &obs) |
Import obstacle points. | |
vec_Vecf< Dim > | get_obs () const |
Get obstacel points. | |
Ellipsoid< Dim > | get_ellipsoid () const |
Get ellipsoid. | |
Polyhedron< Dim > | get_polyhedron () const |
Get polyhedron. | |
virtual void | shrink (double shrink_distance) |
Shrink the polyhedron. More... | |
Protected Member Functions | |
void | add_local_bbox (Polyhedron< Dim > &Vs) |
Add the bounding box. | |
Protected Member Functions inherited from DecompBase< Dim > | |
void | find_polyhedron () |
Protected Attributes | |
Vecf< Dim > | p_ |
Seed location. | |
Protected Attributes inherited from DecompBase< Dim > | |
vec_Vecf< Dim > | obs_ |
Obstacles, input. | |
Ellipsoid< Dim > | ellipsoid_ |
Output ellipsoid. | |
Polyhedron< Dim > | polyhedron_ |
Output polyhedron. | |
Vecf< Dim > | local_bbox_ {Vecf<Dim>::Zero()} |
Local bounding box along the line segment. | |
Seed Decomp Class.
Dilate around the given point
|
inline |
Basic constructor.
p1 | One end of the line seg |
p2 | The other end of the line seg |
|
inlinevirtual |