Inheritance
System.Object
SpringSimulation
public class SpringSimulation : Simulation
Constructors
Declaration
public SpringSimulation(SpringDescription spring, float start, float end, float velocity, Tolerance tolerance = null)
Parameters
Fields
Declaration
protected readonly float _endPosition
Field Value
Type |
Description |
System.Single |
|
Properties
Declaration
public SpringType type { get; }
Property Value
Methods
Declaration
public override float dx(float time)
Parameters
Type |
Name |
Description |
System.Single |
time |
|
Returns
Type |
Description |
System.Single |
|
Overrides
Declaration
public override bool isDone(float time)
Parameters
Type |
Name |
Description |
System.Single |
time |
|
Returns
Type |
Description |
System.Boolean |
|
Overrides
Declaration
public override string ToString()
Returns
Type |
Description |
System.String |
|
Overrides
System.Object.ToString()
Declaration
public override float x(float time)
Parameters
Type |
Name |
Description |
System.Single |
time |
|
Returns
Type |
Description |
System.Single |
|
Overrides