simscape.multibody.UniformDensity Class
Namespace: simscape.multibody
Superclasses: simscape.multibody.Inertia
Description
Use an object of the simscape.multibody.UniformDensity
class to construct a
uniform mass distribution with a given density. If you define the mass distribution of a solid
by using a UniformDensity
object, the solid has a constant density over the
entire geometry. To compute the properties of a solid, such as the center of mass, moments of
inertia, and products of inertia, the UniformDensity
object uses the geometry
and mass of the solid.
Class Attributes
Sealed | true |
ConstructOnLoad | true |
RestrictsSubclassing | true |
For information on class attributes, see Class Attributes.
Creation
Description
constructs a uniform mass distribution with default values.udmass
= simscape.multibody.UniformDensity
constructs a uniform mass distribution with the specified density.udmass
= simscape.multibody.UniformDensity(density
)
Properties
Version History
Introduced in R2022a