Res1DExtensions Class

Class containing extension methods for Res1D classes

Definition

Namespace: DHI.Mike1D.ResultDataAccess
Assembly: DHI.Mike1D.ResultDataAccess (in DHI.Mike1D.ResultDataAccess.dll) Version: 24.0.0.0 (11.1.1.1111)
C#
public static class Res1DExtensions
Inheritance
Object    Res1DExtensions

Methods

Coordinate Create coordinate of grid point
Diameter Get diameter of reach. It is assumed that the reach uses the same cross section throughout is link. If the reach does not have a circular cross section, null is returned.
EndChainage Extension method return the end chainage of a reach
GetDataItem Return data item of specified type if present, otherwise null
GetLeftRightCoordinates Get coordinates left/right of grid point, based on cross section data.
GridpointSearch Extension method searching within the grid points of a reach, using a binary search routine.
Include Checks whether the datetime parameter is included in at least one of the periods.
LocationSpan Extension method to create a LocationSpan from a reach.
RemoveUnusedDataItems Remove unused data items from resultData object
StartChaiange Extension method return the start chainage of a reach
Obsolete
StartChainage Extension method return the start chainage of a reach

See Also