AGX Dynamics  2.37.3.2
agxModel::WindAndWaterController::WindWrapper Class Reference

Wraps wind related things. More...

#include <WindAndWaterController.h>

Public Member Functions

 WindWrapper (agx::Bool enable, const agxModel::WindAndWaterController::WindGenerator *windGenerator, agx::Real airDensity)
 Default constructor. More...
 
agx::Real getDensity () const
 
agx::Bool getEnable () const
 
agx::Vec3 getVelocity (const agx::Vec3 &worldPoint) const
 

Protected Attributes

agx::Real m_density
 
agx::Bool m_enable
 
const WindGenerator * m_windGenerator
 

Detailed Description

Wraps wind related things.

Definition at line 136 of file WindAndWaterController.h.

Constructor & Destructor Documentation

◆ WindWrapper()

agxModel::WindAndWaterController::WindWrapper::WindWrapper ( agx::Bool  enable,
const agxModel::WindAndWaterController::WindGenerator *  windGenerator,
agx::Real  airDensity 
)

Default constructor.

Member Function Documentation

◆ getDensity()

agx::Real agxModel::WindAndWaterController::WindWrapper::getDensity ( ) const
Returns
density of the air

◆ getEnable()

agx::Bool agxModel::WindAndWaterController::WindWrapper::getEnable ( ) const
Returns
true if enabled for current geometry

◆ getVelocity()

agx::Vec3 agxModel::WindAndWaterController::WindWrapper::getVelocity ( const agx::Vec3 &  worldPoint) const
Returns
the world velocity of the air in a given word point

Member Data Documentation

◆ m_density

agx::Real agxModel::WindAndWaterController::WindWrapper::m_density
protected

Definition at line 160 of file WindAndWaterController.h.

◆ m_enable

agx::Bool agxModel::WindAndWaterController::WindWrapper::m_enable
protected

Definition at line 161 of file WindAndWaterController.h.

◆ m_windGenerator

const WindGenerator* agxModel::WindAndWaterController::WindWrapper::m_windGenerator
protected

Definition at line 162 of file WindAndWaterController.h.


The documentation for this class was generated from the following file: