Marine systems simulation
CAttractorBase Class Referenceabstract

Class modelling the interface of a general attractor. More...

#include <CAttractorBase.h>

+ Inheritance diagram for CAttractorBase:

Public Member Functions

virtual void SetRelStrength (const double dRelStrength)
 
virtual void GetForce (double *const adForce, const double *const adNodePos, const double *const adNodeVel)=0
 
virtual void AddForce (double *const adForce, const double dNodeMass, const double *const adNodePos, const double *const adNodeVel)=0
 
virtual void AddForce (double *const adForce, const double *const adNodePos, const double *const adNodeVel)=0
 
virtual void SetForceIfActive (double *const adForce, const double *const adNodePos, const double *const adNodeVel)
 
virtual bool IsActive (const double *const adNodePos)=0
 
void SetPos (const double *const adAttractorPos)
 
void SetVel (const double *const adAttractorVel)
 

Protected Attributes

double m_adPos [3]
 
double m_adVel [3]
 
double m_dRelStrength
 

Detailed Description

Author
Karl-Johan Reite

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