chrono::particlefactory::ChRandomParticlePositionRectangleOutlet Class Reference
Description
Class for generator of random particle positions scattered over a rectangle outlet in 3D space.
#include <ChRandomParticlePosition.h>
Inheritance diagram for chrono::particlefactory::ChRandomParticlePositionRectangleOutlet:
Collaboration diagram for chrono::particlefactory::ChRandomParticlePositionRectangleOutlet:
Public Member Functions | |
virtual ChVector3d | RandomPosition () override |
Function that creates a random position each time it is called. | |
ChCoordsys & | Outlet () |
Access the coordinate system of the rectangular outlet. More... | |
double & | OutletWidth () |
Access the width of the rectangular outlet, that is on the X axis of the coordinate. | |
double & | OutletHeight () |
Access the height of the rectangular outlet, that is on the Y axis of the coordinate. | |
Member Function Documentation
◆ Outlet()
|
inline |
Access the coordinate system of the rectangular outlet.
The outlet width is on the X direction of this csys, and the outled height is on the Y direction of this csys.
The documentation for this class was generated from the following file:
- /builds/uwsbel/chrono/src/chrono/particlefactory/ChRandomParticlePosition.h