Click or drag to resize

Res1DReach Class

Default implementation of IRes1DReach
Inheritance Hierarchy

Namespace:  DHI.Mike1D.ResultDataAccess
Assembly:  DHI.Mike1D.ResultDataAccess (in DHI.Mike1D.ResultDataAccess.dll) Version: 19.0.0.0 (11.1.1.1111)
Syntax
public class Res1DReach : Res1DAbstractDataSet, IRes1DReach, 
	IRes1DDataSet, INetworkReach

The Res1DReach type exposes the following members.

Constructors
  NameDescription
Public methodRes1DReach
Initializes a new instance of the Res1DReach class
Top
Properties
  NameDescription
Public propertyDataItems
List of data items used for accessing the data.
(Inherited from Res1DAbstractDataSet.)
Public propertyDigiPoints
List of digi points
Public propertyDirectionType
Direction for the gridpoint. ???
Public propertyEndNodeIndex
Reference to the end node
Public propertyGridPoints
List of grid points
Public propertyId
Identification string
(Inherited from Res1DAbstractDataSet.)
Public propertyIsStructureReach
Returns true if the reach is a structure reach (special reach with just one structure q-points and two h-grid points. The h-grid points have very large (unused) cross sections.
Public propertyLength
Return length of reach, chainage-length
Public propertyLocationSpan
Public propertyName
Name of branch
Public propertyStartNodeIndex
Reference to the start node
Public propertyTopoID
TotoID of this reach
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 methodGetChainages(Int32)

Returns the chainages for the elements in the dataitem.

The IDataItem must be a ReachItem and have one vertex per element only.

Public methodGetChainages(IDataItem)

Returns the chainages for the elements in the dataitem.

The IDataItem must be a ReachItem and having one vertex per element.

Public methodGetDataItem
Return data item of specified type if present, otherwise null
(Inherited from Res1DAbstractDataSet.)
Public methodGetDigiPointCoords Obsolete.
Returns an array of digi point coordinates.
Public methodGetGridPointCoords Obsolete.
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetLowerLimitChainages(Int32)

Returns the lower limit chainages for each elements in the dataitem. This is the smallest vertex chainage coordinate for each element.

If an element only has one vertex coordinate, the chainage of the prev gridpoint is returned (lower chainage). At the first gridpoint the chainage of the gridpoint itself is returned.

Public methodGetLowerLimitChainages(IDataItem)

Returns the lower limit chainages for each elements in the dataitem. This is the smallest vertex chainage coordinate for each element.

If an element only has one vertex coordinate, the chainage of the previous gridpoint is returned(lower chainage). At the first gridpoint the chainage of the gridpoint itself is returned.

Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodGetUpperLimitChainages(Int32)

Returns the upper limit chainages for each elements in the dataitem. This is the largest vertex chainage coordinate for each element.

If an element only has one vertex coordinate, the chainage of the gridpoint after the element gridpoint is returned (higher chainage). At the last gridpoint the chainage of the gridpoint itself is returned.

Public methodGetUpperLimitChainages(IDataItem)

Returns the upper limit chainages for each elements in the dataitem. This is the largest vertex chainage coordinate for each element.

If an element only has one vertex coordinate, the chainage of the next gridpoint returned (higher chainage). At the last gridpoint the chainage of the gridpoint itself is returned.

Public methodGridPointIndexForChainage
Return index in list of gridpoints for given chainage. Chainage must be within Constants.LOCATION_EQUAL_TOLERANCE of gridpoint chainage, otherwise no grid point is found.
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodToString
Returns a string that represents the current object.
(Overrides ObjectToString.)
Top
Fields
  NameDescription
Protected field_dataItems
List of data items
(Inherited from Res1DAbstractDataSet.)
Protected field_id
Identification string
(Inherited from Res1DAbstractDataSet.)
Top
Extension Methods
  NameDescription
Public Extension MethodDiameter
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.
(Defined by Res1DExtensions.)
Public Extension MethodEndChainage
Extension method return the end chainage of a reach
(Defined by Res1DExtensions.)
Public Extension MethodGetDataItem
Return data item of specified type if present, otherwise null
(Defined by Res1DExtensions.)
Public Extension MethodGridpointSearch
Extension method searching within the grid points of a reach, using a binary search routine.
(Defined by Res1DExtensions.)
Public Extension MethodLocationSpan
Extension method to create a LocationSpan from a reach.
(Defined by Res1DExtensions.)
Public Extension MethodStartChaiange
Extension method return the start chainage of a reach
(Defined by Res1DExtensions.)
Public Extension MethodStartChainage
Extension method return the start chainage of a reach
(Defined by Res1DExtensions.)
Top
See Also