Marine systems simulation
CAttractorNetBin Class Reference

A basic attractor for simulating a net bin during deployment. More...

#include <CAttractorNetBin.h>

+ Inheritance diagram for CAttractorNetBin:
+ Collaboration diagram for CAttractorNetBin:

Public Member Functions

void SetParams (const double dRadius, const double dSpringStiffness, const double dDamping)
 
void AddForce (double *const adForce, const double *const adNodePos, const double *const adNodeVel)
 
void SetForceIfActive (double *const adForce, const double *const adNodePos, const double *const adNodeVel)
 
void GetForce (double *const adForce, const double *const adNodePos, const double *const adNodeVel)
 
void AddForce (double *const adForce, const double dNodeMass, const double *const adNodePos, const double *const adNodeVel)
 
bool IsActive (const double *const adNodePos)
 
- Public Member Functions inherited from CAttractorBase
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_dRadius
 
double m_dSpringStiffness
 
double m_dDamping
 
- Protected Attributes inherited from CAttractorBase
double m_adPos [3]
 
double m_adVel [3]
 
double m_dRelStrength
 

Detailed Description

Author
Karl-Johan Reite

Member Function Documentation

◆ AddForce() [1/2]

void CAttractorNetBin::AddForce ( double *const  adForce,
const double *const  adNodePos,
const double *const  adNodeVel 
)
virtual

Implements CAttractorBase.

◆ AddForce() [2/2]

void CAttractorNetBin::AddForce ( double *const  adForce,
const double  dNodeMass,
const double *const  adNodePos,
const double *const  adNodeVel 
)
virtual

Implements CAttractorBase.

◆ GetForce()

void CAttractorNetBin::GetForce ( double *const  adForce,
const double *const  adNodePos,
const double *const  adNodeVel 
)
virtual

Implements CAttractorBase.

◆ IsActive()

bool CAttractorNetBin::IsActive ( const double *const  adNodePos)
virtual

Implements CAttractorBase.

◆ SetForceIfActive()

void CAttractorNetBin::SetForceIfActive ( double *const  adForce,
const double *const  adNodePos,
const double *const  adNodeVel 
)
virtual

Reimplemented from CAttractorBase.


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