Click or drag to resize

TableInterpolator Class

Interpolate a table from two other tables.

The "x-column" of the two tables are merged into one new interpolated x-column by interpolating the min and max values from the two tables, and scale the internal x-values of the two tables to the new min and max value. Then y-values are interpolated from

, using an "x-column" as the range and computing
Inheritance Hierarchy
SystemObject
  DHI.Mike1D.GenericTableInterpolator

Namespace:  DHI.Mike1D.Generic
Assembly:  DHI.Mike1D.Generic (in DHI.Mike1D.Generic.dll) Version: 19.0.0.0 (11.1.1.1111)
Syntax
public class TableInterpolator

The TableInterpolator type exposes the following members.

Constructors
  NameDescription
Public methodTableInterpolator
Constructor, specifying the fraction
Top
Properties
  NameDescription
Public propertyFraction
Interpolation fraction, between zero and one.
Public propertyXTol
Tolerance in x value for removing "near-duplicate" points in the x-axis. Set to zero to only remove exact duplicate points
Top
Methods
  NameDescription
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodInitialize
Set x-values of the two tables and create a new interpolated x axis.

The min and max values of the two tables are interpolated, and all inner x-values of the two tables are scaled into this new range and added. If two points are very close, only one is added.

Public methodInterpolateYValues
Interpolate y values for the table
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Top
Fields
See Also