chrono::vehicle::ChVehicleCosimTerrainNodeChrono::ProxyBodySet Struct Reference

Description

Proxy bodies associated with a co-simulation solid.

Rigid solids are associated with a single proxy body (always with corresponding index = 0). Flexible solids may be associated with a collection of proxy bodies, each corresponding to a mesh node or mesh face; in this case, 'index' represents the mesh vertex index or the mesh face index, respectively.

#include <ChVehicleCosimTerrainNodeChrono.h>

Inheritance diagram for chrono::vehicle::ChVehicleCosimTerrainNodeChrono::ProxyBodySet:
Collaboration diagram for chrono::vehicle::ChVehicleCosimTerrainNodeChrono::ProxyBodySet:

Public Member Functions

void AddBody (std::shared_ptr< ChBody > body, int index)
 

Public Attributes

std::vector< std::shared_ptr< ChBody > > bodies
 bodies in the proxy set
 
std::vector< int > indices
 indices of corresponding flexible mesh solid
 

The documentation for this struct was generated from the following file:
  • /builds/uwsbel/chrono/src/chrono_vehicle/cosim/terrain/ChVehicleCosimTerrainNodeChrono.h