Chrono::Engine C++ API
Public Member Functions | Public Attributes
chrono::collision::ChCollisionInfo Class Reference

#include <ChCCollisionInfo.h>

Collaboration diagram for chrono::collision::ChCollisionInfo:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 ChCollisionInfo ()
void SwapModels ()

Public Attributes

ChCollisionModelmodelA
ChCollisionModelmodelB
ChVector vpA
ChVector vpB
ChVector vN
double distance
float * reaction_cache

Member Function Documentation

void chrono::collision::ChCollisionInfo::SwapModels ( )

Swap models, that is modelA becomes modelB and viceversa; normal and so on are updates as well.