35#include "AttractorNetBin.h"
36#include "InternalCableWithAttractor.h"
38#include <cable/CableBranched.h>
49 void FinalSetup(
const double dT,
const double*
const adX, ISimObjectCreator*
const creator)
override;
The net bin of Seine/Vessel: a sphere that pulls the net and warp nodes inside it.
Definition AttractorNetBin.h:16
Definition CableBranchedAttractor.h:46
AttractorNetBin::Motion m_attractorMotion
As PrepareSections found it.
Definition CableBranchedAttractor.h:59
void PrepareSections(double dT, const double *adX) const override
Takes the attractor's motion at (dT, adX) for the junction nodes and gives it to every section.
const AttractorNetBin * m_attractor
The attractor AttractorName names, from FinalSetup.
Definition CableBranchedAttractor.h:58
void AddJunctionNodeForce(const double pos[3], const double vel[3], double force[3]) const override
Adds the attractor's pull on a junction node, at the motion PrepareSections took.
Definition CableBranched.h:243
Where the attractor is, how fast it moves, and how strongly it pulls.
Definition AttractorNetBin.h:20