SOFA API  9d870773
Open source framework for multi-physics simuation
sofa::component::collision::detection::algorithm::BruteForceBroadPhase::FirstLastCollisionModel Struct Reference

#include <BruteForceBroadPhase.h>

Detailed Description

A data structure to store a pair of collision models They both describe the same object

Public Attributes

core::CollisionModelfirstCollisionModel { nullptr }
 First collision model in the hierarchy of collision models of an object. Usually a bounding box. More...
 
core::CollisionModellastCollisionModel { nullptr }
 

Public Member Functions

 FirstLastCollisionModel (core::CollisionModel *a, core::CollisionModel *b)
 

Attribute details

◆ firstCollisionModel

core::CollisionModel* sofa::component::collision::detection::algorithm::BruteForceBroadPhase::FirstLastCollisionModel::firstCollisionModel { nullptr }

First collision model in the hierarchy of collision models of an object. Usually a bounding box.

◆ lastCollisionModel

core::CollisionModel* sofa::component::collision::detection::algorithm::BruteForceBroadPhase::FirstLastCollisionModel::lastCollisionModel { nullptr }

Constructor details

◆ FirstLastCollisionModel()