chrono::particlefactory::ChRandomParticlePositionOnGeometry Class Reference
Description
Class for generator of random particle positions scattered over a parametric surface.
#include <ChRandomParticlePosition.h>
Inheritance diagram for chrono::particlefactory::ChRandomParticlePositionOnGeometry:
Collaboration diagram for chrono::particlefactory::ChRandomParticlePositionOnGeometry:
Public Member Functions | |
virtual ChVector | RandomPosition () override |
Function that creates a random position each time it is called. | |
void | SetGeometry (std::shared_ptr< geometry::ChGeometry > mgeometry) |
Set the parametric surface used for this outlet. More... | |
Member Function Documentation
◆ SetGeometry()
|
inline |
Set the parametric surface used for this outlet.
The surface will be sampled uniformly over its U,V parametric coordinaters. In cas of lines, oly U is used, in case of parametric volumes, U,V,W.
The documentation for this class was generated from the following file:
- /builds/uwsbel/chrono/src/chrono/particlefactory/ChRandomParticlePosition.h