DPSF by Daniel Schroeder

<PackageReference Include="DPSF" Version="2.5.0" />

.NET API 168,448 bytes

 MagnetPoint

Magnet that attracts particles to/from a single point in 3D space

The Position, Velocity, and Acceleration of the Magnet

public MagnetPoint(Vector3 sPosition, MagnetModes eMode, DistanceFunctions eDistanceFunction, float fMinDistance, float fMaxDistance, float fMaxForce, int iType)

Explicit Constructor

public MagnetPoint(Position3D cPositionData, MagnetModes eMode, DistanceFunctions eDistanceFunction, float fMinDistance, float fMaxDistance, float fMaxForce, int iType)

Explicit Constructor

public MagnetPoint(MagnetPoint cMagnetToCopy)

Copy Constructor

public void CopyFrom(MagnetPoint cMagnetToCopy)

Copies the given Point Magnet's data into this Point Magnet's data