InterpolatableClosestT Class

Class implementing IInterpolatableT, by returning the closest of the values in the Interpolate(Double, T, T) method.

This can be used if no interpolation is possible.

Definition

Namespace: DHI.Mike1D.Generic
Assembly: DHI.Mike1D.Generic (in DHI.Mike1D.Generic.dll) Version: 24.0.0.0 (11.1.1.1111)
C#
public class InterpolatableClosest<T> : IInterpolatable<T>
Inheritance
Object    InterpolatableClosestT
Implements
IInterpolatableT

Type Parameters

T

[Missing <typeparam name="T"/> documentation for "T:DHI.Mike1D.Generic.InterpolatableClosest`1"]

Constructors

InterpolatableClosestTInitializes a new instance of the InterpolatableClosestT class

Methods

CanInterpolate Returns true if interpolation can take place between a and b value
EqualsDetermines whether the specified object is equal to the current object.
(Inherited from Object)
FinalizeAllows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object)
GetHashCodeServes as the default hash function.
(Inherited from Object)
GetTypeGets the Type of the current instance.
(Inherited from Object)
Interpolate Interpolation returning either aValue or bValue, depending on whether bRatio is smaller/larger than 0.5
MemberwiseCloneCreates a shallow copy of the current Object.
(Inherited from Object)
ToStringReturns a string that represents the current object.
(Inherited from Object)

See Also