Click or drag to resize

IXYTable Interface

Table of corresponding x and y values.

If using one of the

YFromX
methods, the x values must be monotonic, and similar if using the
XFromY
, the y values must be monotonic.

NOTE: When this is used for a qh-relation, h is stored on x

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

The IXYTable type exposes the following members.

Properties
  NameDescription
Public propertyCount
Number of elements in table
Public propertyItem
Indexer for getting/setting x or y values
Public propertyMaximumX
Maximum x value
Public propertyMinimumX
Minimum x value
Public propertyXValues
Get x values
Public propertyYValues
Get y values
Top
Methods
  NameDescription
Public methodResize
Resize table. Copy over data to new table
Public methodSet
Set a value to the table
Public methodValidate
Validates the data. The only constraint is that the x values after sorting must be monotonically increasing.
Public methodXFromY(Double)
Interpolates/extrapolates width using linear interpolation

Assuming that the y-values are monotonic.

Public methodXFromY(Double, ExtrapolationTypes)
Interpolates/extrapolates width using linear interpolation

Assuming that the y-values are monotonic.

Public methodYFromX(Double)
Interpolates/extrapolates width using linear interpolation
Public methodYFromX(Double, ExtrapolationTypes)
Interpolates/extrapolates width using linear interpolation
Top
Extension Methods
  NameDescription
Public Extension MethodSet
Set a value to the table
(Defined by GenericExtensions.)
Public Extension MethodSort
Sort table by x-value, using a quick-sort algorithm
(Defined by GenericExtensions.)
Public Extension MethodSortStable
Sort table by x-value, using a stable sort
(Defined by GenericExtensions.)
Top
See Also