|
AGX Dynamics
2.37.3.2
|
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 707 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 1039 of file Geometry.h.
| bool agxCollide::Geometry::MergeSplitProperties::getEnableSplit | ( | ) | const |
Definition at line 1029 of file Geometry.h.
| bool agxCollide::Geometry::MergeSplitProperties::getForceSplitInPreStep | ( | ) | const |
Definition at line 1049 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 1034 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 1025 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 1044 of file Geometry.h.