|
AGX Dynamics 2.41.3.0
|
Interface to the bodies, either user or solver, since these bodies can differ when e.g., a body is merged. More...
#include <ConstraintImplementation.h>
Inheritance diagram for agx::ConstraintImplementation::BodyView:Public Member Functions | |
| BodyView (const BodyView &other) | |
| Copy constructor. | |
| BodyView (const ConstrainedBodiesState::BodiesInfo &info, const ConstraintRigidBodyContainer &bodies) | |
| Internal, use ConstriantImplementation::getUserView(). | |
| const ConstraintRigidBodyContainer & | getBodies () const |
| agx::RigidBody * | getBodyAt (agx::UInt i) |
| const agx::RigidBody * | getBodyAt (agx::UInt i) const |
| agx::UInt | getNumBodies () const |
| agx::UInt | getNumDynamicBodies () const |
| agx::UInt | getNumNonStaticBodies () const |
| BodyView & | operator= (const BodyView &)=delete |
| Hidden, unsupported. | |
Interface to the bodies, either user or solver, since these bodies can differ when e.g., a body is merged.
Definition at line 230 of file ConstraintImplementation.h.
| agx::ConstraintImplementation::BodyView::BodyView | ( | const ConstrainedBodiesState::BodiesInfo & | info, |
| const ConstraintRigidBodyContainer & | bodies | ||
| ) |
Internal, use ConstriantImplementation::getUserView().
Construct given info and bodies container.
Definition at line 1308 of file ConstraintImplementation.h.
| agx::ConstraintImplementation::BodyView::BodyView | ( | const BodyView & | other | ) |
Copy constructor.
Definition at line 1312 of file ConstraintImplementation.h.
| const ConstraintRigidBodyContainer & agx::ConstraintImplementation::BodyView::getBodies | ( | ) | const |
Definition at line 1340 of file ConstraintImplementation.h.
References agx::ConstraintImplementation::m_bodies.
Definition at line 1330 of file ConstraintImplementation.h.
References agxAssert, and agx::ConstraintImplementation::m_bodies.
Definition at line 1335 of file ConstraintImplementation.h.
References agxAssert, and agx::ConstraintImplementation::m_bodies.
| UInt agx::ConstraintImplementation::BodyView::getNumBodies | ( | ) | const |
Definition at line 1326 of file ConstraintImplementation.h.
References agx::ConstraintImplementation::m_bodies, and agx::Container::size().
| UInt agx::ConstraintImplementation::BodyView::getNumDynamicBodies | ( | ) | const |
Definition at line 1316 of file ConstraintImplementation.h.
| UInt agx::ConstraintImplementation::BodyView::getNumNonStaticBodies | ( | ) | const |
Definition at line 1321 of file ConstraintImplementation.h.
Hidden, unsupported.