Editar

Partilhar via


IElasticSystem<T> Interface

Definition

Represents a damped harmonic oscillator over an N-dimensional vector space, specified by generic type T.

This extensibility allows not just for 1, 2, and 3-D springs, but allows for 4-dimensional quaternion springs.

generic <typename T>
public interface class IElasticSystem
public interface IElasticSystem<T>
type IElasticSystem<'T> = interface
Public Interface IElasticSystem(Of T)

Type Parameters

T
Derived

Methods

ComputeIteration(T, Single)

Update the internal state of the damped harmonic oscillator, given the forcing/desired value, returning the new value.

GetCurrentValue()

Query the elastic system for the current instantaneous value

GetCurrentVelocity()

Query the elastic system for the current instantaneous velocity

Applies to