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.
 
ChCoordsysOutlet ()
 Access the coordinate system of the rectangular outlet.
 
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.
 
- Public Member Functions inherited from chrono::particlefactory::ChRandomParticlePosition

Member Function Documentation

◆ Outlet()

ChCoordsys & chrono::particlefactory::ChRandomParticlePositionRectangleOutlet::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.

◆ RandomPosition()

virtual ChVector3d chrono::particlefactory::ChRandomParticlePositionRectangleOutlet::RandomPosition ( )
inlineoverridevirtual

Function that creates a random position each time it is called.

Reimplemented from chrono::particlefactory::ChRandomParticlePosition.


The documentation for this class was generated from the following file:
  • C:/M/B/src/chrono-9.0.1/src/chrono/particlefactory/ChRandomParticlePosition.h