MRSL DecompUtil Library
0.1
An implementaion of convex decomposition over point cloud
|
EllipsoidDecomp Class. More...
#include <ellipsoid_decomp.h>
Public Member Functions | |
EllipsoidDecomp () | |
Simple constructor. | |
EllipsoidDecomp (const Vecf< Dim > &origin, const Vecf< Dim > &dim) | |
Basic constructor. More... | |
void | set_obs (const vec_Vecf< Dim > &obs) |
Set obstacle points. | |
void | set_local_bbox (const Vecf< Dim > &bbox) |
Set dimension of bounding box. | |
vec_Vecf< Dim > | get_path () const |
Get the path that is used for dilation. | |
vec_E< Polyhedron< Dim > > | get_polyhedrons () const |
Get the Safe Flight Corridor. | |
vec_E< Ellipsoid< Dim > > | get_ellipsoids () const |
Get the ellipsoids. | |
vec_E< LinearConstraint< Dim > > | get_constraints () const |
Get the constraints of SFC as . | |
void | dilate (const vec_Vecf< Dim > &path, double offset_x=0) |
Decomposition thread. More... | |
Protected Member Functions | |
template<int U = Dim> | |
std::enable_if< U==2 >::type | add_global_bbox (Polyhedron< Dim > &Vs) |
template<int U = Dim> | |
std::enable_if< U==3 >::type | add_global_bbox (Polyhedron< Dim > &Vs) |
Protected Attributes | |
vec_Vecf< Dim > | path_ |
vec_Vecf< Dim > | obs_ |
vec_E< Ellipsoid< Dim > > | ellipsoids_ |
vec_E< Polyhedron< Dim > > | polyhedrons_ |
std::vector< std::shared_ptr< LineSegment< Dim > > > | lines_ |
Vecf< Dim > | local_bbox_ {Vecf<Dim>::Zero()} |
Vecf< Dim > | global_bbox_min_ {Vecf<Dim>::Zero()} |
Vecf< Dim > | global_bbox_max_ {Vecf<Dim>::Zero()} |
EllipsoidDecomp Class.
EllipsoidDecomp takes input as a given path and find the Safe Flight Corridor around it using Ellipsoids
|
inline |
Basic constructor.
origin | The origin of the global bounding box |
dim | The dimension of the global bounding box |
|
inline |
Decomposition thread.
path | The path to dilate |
offset_x | offset added to the long semi-axis, default is 0 |