Project Chrono: chrono::particlefactory::ChRandomParticlePositionRectangleOutlet Class Reference

Public Member Functions | List of all members
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:
[legend]
Collaboration diagram for chrono::particlefactory::ChRandomParticlePositionRectangleOutlet:
[legend]

## 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.
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()

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:

- D:/W/B/src/chrono-9.0.1/src/chrono/particlefactory/ChRandomParticlePosition.h