libigl v2.5.0
Loading...
Searching...
No Matches
oriented_bounding_box.h File Reference
#include "igl_inline.h"
#include <Eigen/Core>
#include <Eigen/Geometry>
#include <vector>
#include "oriented_bounding_box.cpp"

Go to the source code of this file.

Namespaces

namespace  igl

Enumerations

enum  igl::OrientedBoundingBoxMinimizeType { igl::ORIENTED_BOUNDING_BOX_MINIMIZE_VOLUME = 0 , igl::ORIENTED_BOUNDING_BOX_MINIMIZE_SURFACE_AREA = 1 , igl::ORIENTED_BOUNDING_BOX_MINIMIZE_DIAGONAL_LENGTH = 2 , igl::NUM_ORIENTED_BOUNDING_BOX_MINIMIZE_TYPES = 3 }

Functions

template<typename DerivedP, typename DerivedR>
void igl::oriented_bounding_box (const Eigen::MatrixBase< DerivedP > &P, const int n, const OrientedBoundingBoxMinimizeType minimize_type, Eigen::PlainObjectBase< DerivedR > &R)
 Given a set of points compute the rotation transformation of them such that their axis-aligned bounding box is as small as possible.