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

This kind of body can only represent an inertialess point mass, with mass center at (0,0,0) in the local frame. More...

#include <Body.h>

+ Inheritance diagram for SimTK::Body::Particle:

List of all members.

Public Member Functions

 Particle ()
 Particle (const Real &mass)
ParticlesetDefaultRigidBodyMassProperties (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 (Particle, Body)

Detailed Description

This kind of body can only represent an inertialess point mass, with mass center at (0,0,0) in the local frame.

You can change mass later (even to make it massless) but you can't move the mass center or add any inertia.


Constructor & Destructor Documentation

SimTK::Body::Particle::Particle ( const Real &  mass) [explicit]

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