Simbody  3.4 (development)
SimTK::Body::Rigid Class Reference

A general rigid body. More...

#include <Body.h>

+ Inheritance diagram for SimTK::Body::Rigid:

List of all members.

Public Member Functions

 Rigid ()
 Construct a rigid body with default mass properties which are (1,Vec3(0),Inertia(1,1,1))
 Rigid (const MassProperties &)
 Construct a rigid body with the given mass properties; any set of mass properties is allowed since this is a general rigid body.
RigidsetDefaultRigidBodyMassProperties (const MassProperties &m)
 Every type of Body should provide an initial set of rigid body mass properties defined at Topology stage (i.e., in the System rather than the State).
 SimTK_PIMPL_DOWNCAST (Rigid, Body)

Detailed Description

A general rigid body.

This can represent a body with mass properties that are full, linear, inertialess (e.g. a point), or massless.


Constructor & Destructor Documentation

Construct a rigid body with default mass properties which are (1,Vec3(0),Inertia(1,1,1))

SimTK::Body::Rigid::Rigid ( const MassProperties ) [explicit]

Construct a rigid body with the given mass properties; any set of mass properties is allowed since this is a general rigid body.


Member Function Documentation

Every type of Body should provide an initial set of rigid body mass properties defined at Topology stage (i.e., in the System rather than the State).

This is thus a Topology-stage change which will require a new realizeTopology() before use.

Reimplemented from SimTK::Body.


The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines