SOFA API  aad30570
Open source framework for multi-physics simuation
sofa::core::collision::DetectionOutputVector Class Referenceabstract

#include <DetectionOutput.h>

Abstract description of a set of contact point. More...

Inheritance diagram for sofa::core::collision::DetectionOutputVector:

Detailed Description

Abstract description of a set of contact point.

Public Member Functions

virtual void clear ()=0
 Clear the content of this vector. More...
 
virtual unsigned int size () const =0
 Current size (number of detected contacts. More...
 
bool empty () const
 Test if the vector is empty. More...
 
virtual void release ()
 Delete this vector from memory once the contact pair is no longer active. More...
 

Protected Member Functions

virtual ~DetectionOutputVector ()
 

Constructor details

◆ ~DetectionOutputVector()

virtual sofa::core::collision::DetectionOutputVector::~DetectionOutputVector ( )
inlineprotectedvirtual

Function details

◆ clear()

virtual void sofa::core::collision::DetectionOutputVector::clear ( )
pure virtual

◆ empty()

bool sofa::core::collision::DetectionOutputVector::empty ( ) const
inline

Test if the vector is empty.

◆ release()

virtual void sofa::core::collision::DetectionOutputVector::release ( )
inlinevirtual

Delete this vector from memory once the contact pair is no longer active.

◆ size()

virtual unsigned int sofa::core::collision::DetectionOutputVector::size ( ) const
pure virtual