Gazebo Math

API Reference

8.0.0
Util.hh File Reference
#include <vector>
#include <Eigen/Geometry>
#include <Eigen/Eigenvalues>
#include <gz/math/AxisAlignedBox.hh>
#include <gz/math/Matrix3.hh>
#include <gz/math/OrientedBox.hh>
#include <gz/math/Pose3.hh>
#include <gz/math/Quaternion.hh>
#include <gz/math/Vector3.hh>
#include <gz/math/eigen3/Conversions.hh>

Go to the source code of this file.

Namespaces

namespace  eigen3
 

Functions

Eigen::Matrix3d covarianceMatrix (const std::vector< math::Vector3d > &_vertices)
 Get covariance matrix from a set of 3d vertices https://github.com/isl-org/Open3D/blob/76c2baf9debd460900f056a9b51e9a80de9c0e64/cpp/open3d/utility/Eigen.cpp#L305.
 
OrientedBoxd verticesToOrientedBox (const std::vector< math::Vector3d > &_vertices)
 Get the oriented 3d bounding box of a set of 3d vertices using PCA http://codextechnicanum.blogspot.com/2015/04/find-minimum-oriented-bounding-box-of.html.