Half space shape class.
- Attention
- The HalfSpace does not obey any rotation. The rotation is given purely by the normal of the half space!
#include <HalfSpace.h>
|
static constexpr int | SHAPE_TYPE = 0 |
| Unique shape type identifier for half spaces.
|
|
static const int | INVALID_SHAPE = -1 |
| Unique invalid shape type identifier.
|
|
|
Vec3 | normal_ |
| Normal of the half space in reference to the global world frame.
|
|
◆ HalfSpace()
◆ getNormal()
const Vec3 & walberla::mesa_pd::data::HalfSpace::getNormal |
( |
| ) |
const |
|
inline |
◆ getVolume()
real_t walberla::mesa_pd::data::HalfSpace::getVolume |
( |
| ) |
const |
|
inlineoverridevirtual |
◆ pack()
◆ unpack()
◆ updateMassAndInertia()
void walberla::mesa_pd::data::HalfSpace::updateMassAndInertia |
( |
const real_t | density | ) |
|
|
inlineoverridevirtual |
◆ normal_
Vec3 walberla::mesa_pd::data::HalfSpace::normal_ |
|
private |
Normal of the half space in reference to the global world frame.
The normal of the half space is always pointing from the occupied half space towards the open half space.
The documentation for this class was generated from the following file:
- /builds/administration/walberla-website/walberla/src/mesa_pd/data/shape/HalfSpace.h