AGX Dynamics  2.37.3.2
agxCollide::Geometry::MergeSplitProperties Class Reference

Specify MergeSplit properties for a Geometry. More...

#include <Geometry.h>

Public Member Functions

 MergeSplitProperties ()
 Constructor. More...
 
bool getEnableMerge () const
 
bool getEnableSplit () const
 
bool getForceSplitInPreStep () const
 
void setEnableMerge (bool flag)
 if flag is true, this geometry can result in a merge when it is in resting contact with another geometry. More...
 
void setEnableSplit (bool flag)
 If flag is true, this geometry can split merged bodies at contacts/separations. More...
 
void setForceSplitInPreStep (bool flag)
 If flag is true, this geometry will split merged bodies directly in the pre solve step. More...
 

Detailed Description

Specify MergeSplit properties for a Geometry.

Definition at line 707 of file Geometry.h.

Constructor & Destructor Documentation

◆ MergeSplitProperties()

agxCollide::Geometry::MergeSplitProperties::MergeSplitProperties ( )

Constructor.

ENABLE_SPLIT: true ENABLE_MERGE: true FORCE_SPLIT_IN_PRE: false

Member Function Documentation

◆ getEnableMerge()

bool agxCollide::Geometry::MergeSplitProperties::getEnableMerge ( ) const
Returns
true if this geometry can result in a merge when it is in resting contact with another geometry.

Definition at line 1039 of file Geometry.h.

◆ getEnableSplit()

bool agxCollide::Geometry::MergeSplitProperties::getEnableSplit ( ) const
Returns
true when this geometry can split merged bodies at contacts/separations, otherwise false.

Definition at line 1029 of file Geometry.h.

◆ getForceSplitInPreStep()

bool agxCollide::Geometry::MergeSplitProperties::getForceSplitInPreStep ( ) const
Returns
true if this geometry should force split in a pre solve step, instead of default post solve step.

Definition at line 1049 of file Geometry.h.

◆ setEnableMerge()

void agxCollide::Geometry::MergeSplitProperties::setEnableMerge ( bool  flag)

if flag is true, this geometry can result in a merge when it is in resting contact with another geometry.

Definition at line 1034 of file Geometry.h.

◆ setEnableSplit()

void agxCollide::Geometry::MergeSplitProperties::setEnableSplit ( bool  flag)

If flag is true, this geometry can split merged bodies at contacts/separations.

Definition at line 1025 of file Geometry.h.

◆ setForceSplitInPreStep()

void agxCollide::Geometry::MergeSplitProperties::setForceSplitInPreStep ( bool  flag)

If flag is true, this geometry will split merged bodies directly in the pre solve step.

Default is false, split in the post solve step (to avoid small jerks due to the fact that bodies will fall for one time step before a contact constraint is created).

Definition at line 1044 of file Geometry.h.


The documentation for this class was generated from the following file: