|
AGXDynamics
2.31.1.0
|
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... | |
Specify MergeSplit properties for a Geometry.
Definition at line 675 of file Geometry.h.
| agxCollide::Geometry::MergeSplitProperties::MergeSplitProperties | ( | ) |
Constructor.
ENABLE_SPLIT: true ENABLE_MERGE: true FORCE_SPLIT_IN_PRE: false
| bool agxCollide::Geometry::MergeSplitProperties::getEnableMerge | ( | ) | const |
Definition at line 995 of file Geometry.h.
| bool agxCollide::Geometry::MergeSplitProperties::getEnableSplit | ( | ) | const |
Definition at line 985 of file Geometry.h.
| bool agxCollide::Geometry::MergeSplitProperties::getForceSplitInPreStep | ( | ) | const |
Definition at line 1005 of file Geometry.h.
| 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 990 of file Geometry.h.
| void agxCollide::Geometry::MergeSplitProperties::setEnableSplit | ( | bool | flag | ) |
If flag is true, this geometry can split merged bodies at contacts/separations.
Definition at line 981 of file Geometry.h.
| 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 1000 of file Geometry.h.