11 #include ApproxMVBB_OOBB_INCLUDE_FILE 18 m_minPoint =
Vector3(std::min(l(0),u(0)),std::min(l(1),u(1)),std::min(l(2),u(2)));
19 m_maxPoint =
Vector3(std::max(l(0),u(0)),std::max(l(1),u(1)),std::max(l(2),u(2)));
57 PREC ext = std::abs(e.maxCoeff(&idx)) * p;
67 if(i!=idx && std::abs(e(i)) < ext){
79 PREC l = 0.5*minExtent;
81 if(std::abs(e(i)) < minExtent){
91 m_minPoint(0) = std::numeric_limits<PREC>::max();
92 m_maxPoint(0) = std::numeric_limits<PREC>::min();
93 m_minPoint(1) = std::numeric_limits<PREC>::max();
94 m_maxPoint(1) = std::numeric_limits<PREC>::min();
95 m_minPoint(2) = std::numeric_limits<PREC>::max();
96 m_maxPoint(2) = std::numeric_limits<PREC>::min();
Eigen::Quaternion< Scalar > Quaternion
These are some container definitions.
Vector3 m_maxPoint
in K Frame
EIGEN_MAKE_ALIGNED_OPERATOR_NEW ApproxMVBB_DEFINE_MATRIX_TYPES ApproxMVBB_DEFINE_POINTS_CONFIG_TYPES OOBB()
void expandToMinExtentRelative(PREC p=0.1, PREC defaultExtent=0.1, PREC eps=1e-10)
void switchZAxis(unsigned int i)
void expandToMinExtentAbsolute(PREC minExtent)
Eigen::Matrix< Scalar, 3, 3 > Matrix33
Quaternion m_q_KI
Rotation of frame I to frame K, corresponds to a transformation A_IK;.
Vector3 m_minPoint
in K Frame
Eigen::Array< Scalar, 3, 1 > Array3
Eigen::Matrix< Scalar, 3, 1 > Vector3