| MULTIBODY SIMULATION SOFTWARE - API documentation |
#include <CHcModelBulletNode.h>


Public Member Functions | |
| void | SetNode (ChIndexedNodes *mpa, unsigned int id) |
| ChIndexedNodes * | GetNodes () |
| unsigned int | GetNodeId () |
| bool | SetSphereRadius (double coll_radius, double out_envelope) |
| virtual void | SyncPosition () |
| virtual ChPhysicsItem * | GetPhysicsItem () |
Class for the collision model to be used in ChIndexedNodes shapes, that are collections of point-like items (each with 3 DOFs). Uses features of the Bullet library.
| bool chrono::collision::ChModelBulletNode::SetSphereRadius | ( | double | coll_radius, |
| double | out_envelope | ||
| ) |
If the collision shape is a sphere, resize it and return true (if no sphere is found in this collision shape, return false). It can also change the outward envelope; the inward margin is automatically the radius of the sphere.
| void chrono::collision::ChModelBulletNode::SyncPosition | ( | ) | [virtual] |
Sets the position and orientation of the collision model as the current position of the corresponding node
Implements chrono::collision::ChCollisionModel.
CHRONO::ENGINE