Drake
Drake C++ Documentation
Loading...
Searching...
No Matches
geometry_spatial_inertia.h File Reference
#include <functional>
#include <string>
#include <variant>
#include "drake/common/drake_deprecated.h"
#include "drake/geometry/proximity/triangle_surface_mesh.h"
#include "drake/geometry/shape_specification.h"
#include "drake/multibody/tree/spatial_inertia.h"
Include dependency graph for geometry_spatial_inertia.h:

Namespaces

namespace  drake
namespace  drake::multibody

Functions

SpatialInertia< doubleCalcSpatialInertia (const geometry::Shape &shape, double density)
 Computes the SpatialInertia of a body made up of a homogeneous material (of given density in kg/m³) uniformly distributed in the volume of the given shape.
SpatialInertia< doubleCalcSpatialInertia (const geometry::TriangleSurfaceMesh< double > &mesh, double density)
 Computes the SpatialInertia of a body made up of a homogeneous material (of given density in kg/m³) uniformly distributed in the volume of the given mesh.