hpp-fcl  1.4.4
HPP fork of FCL -- The Flexible Collision Library
hpp::fcl::BVFitter< BV > Class Template Reference

The class for the default algorithm fitting a bounding volume to a set of points. More...

#include <hpp/fcl/BVH/BVH_model.h>

Public Member Functions

BV fit (unsigned int *primitive_indices, int num_primitives)
 Compute a bounding volume that fits a set of primitives (points or triangles). The primitive data was set by set function and primitive_indices is the primitive index relative to the data. More...
 

Detailed Description

template<typename BV>
class hpp::fcl::BVFitter< BV >

The class for the default algorithm fitting a bounding volume to a set of points.

Member Function Documentation

◆ fit()

template<typename BV >
BV hpp::fcl::BVFitter< BV >::fit ( unsigned int *  primitive_indices,
int  num_primitives 
)
inline

Compute a bounding volume that fits a set of primitives (points or triangles). The primitive data was set by set function and primitive_indices is the primitive index relative to the data.

The primitive is triangle

can fitting both current and previous frame

The primitive is point

can fitting both current and previous frame


The documentation for this class was generated from the following files: