hpp-fcl
2.4.1
HPP fork of FCL -- The Flexible Collision Library
|
Go to the documentation of this file.
38 #ifndef HPP_FCL_SHAPE_CONVEX_H
39 #define HPP_FCL_SHAPE_CONVEX_H
49 template <
typename PolygonT>
64 Convex(
bool ownStorage,
Vec3f* points_,
unsigned int num_points_,
65 PolygonT* polygons_,
unsigned int num_polygons_);
FCL_REAL computeVolume() const
compute the volume
Definition: convex.hxx:172
Eigen::Matrix< FCL_REAL, 3, 1 > Vec3f
Definition: data_types.h:66
Vec3f * points
An array of the points of the polygon.
Definition: geometric_shapes.h:623
unsigned int num_points
Definition: geometric_shapes.h:624
void fillNeighbors()
Definition: convex.hxx:204
void set(bool ownStorage, Vec3f *points, unsigned int num_points, PolygonT *polygons, unsigned int num_polygons)
Set the current Convex from a list of points and polygons.
Definition: convex.hxx:72
unsigned int num_polygons
Definition: convex.h:77
Vec3f computeCOM() const
compute center of mass
Definition: convex.hxx:139
Convex polytope.
Definition: convex.h:50
double FCL_REAL
Definition: data_types.h:65
Main namespace.
Definition: broadphase_bruteforce.h:44
Eigen::Matrix< FCL_REAL, 3, 3 > Matrix3f
Definition: data_types.h:68
Base for convex polytope.
Definition: geometric_shapes.h:581
~Convex()
Definition: convex.hxx:67
PolygonT * polygons
An array of PolygonT object. PolygonT should contains a list of vertices for each polygon,...
Definition: convex.h:76
virtual Convex< PolygonT > * clone() const
 
Definition: convex.hxx:85
Convex()
Construct an uninitialized convex object.
Definition: convex.h:53
Matrix3f computeMomentofInertia() const
based on http://number-none.com/blow/inertia/bb_inertia.doc
Definition: convex.hxx:100