simscape.multibody.UniformMass Class
Namespace: simscape.multibody
Superclasses: simscape.multibody.Inertia
Description
Use an object of the simscape.multibody.UniformMass
class to construct a
uniform mass distribution with a given total mass. If you use a UniformMass
object to define the mass distribution of a solid, the solid has a constant density over the
entire geometry. The density is equal to the given total mass divided by the volume of the
solid. To compute the properties of a solid, such as center of mass, moments of inertia, and
products of inertia, the UniformMass
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.umass
= simscape.multibody.UniformMass
constructs a uniform mass distribution with the specified total mass.umass
= simscape.multibody.UniformMass(mass
)
Properties
Version History
Introduced in R2022a