CrossLineData Class

A cross line is a line perpendicular to the river and the flow direction.

For a location on the river, it contains coordinates for the CenterCoor and the left and right river bank, and also left and right low-flow bank, if present.

Cross lines at locations where cross sections exist follows the coordinates of the cross section.

Definition

Namespace: DHI.Mike1D.FloodMap
Assembly: DHI.Mike1D.FloodMap (in DHI.Mike1D.FloodMap.dll) Version: 24.0.0.0 (11.1.1.1111)
C#
public class CrossLineData
Inheritance
Object    CrossLineData

Constructors

Properties

LeftRightSwap Bool indicating if left-right of cross line has been swapped compared to cross section

Methods

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 Interpolate between two CrossLineData.
MemberwiseCloneCreates a shallow copy of the current Object.
(Inherited from Object)
ToStringReturns a string that represents the current object.
(Inherited from Object)

Fields

CenterCoor Coordinate at center of river, usually coinciding with the lowest point of the river.

Preferably this should also coincide with the DigiPointCoordinate, though that is often not the case.

Chainage Chainage of cross line along river
CrossLineType Type that cross line is based on.
CrossSection If cross line is based on a cross section, it is stored here. Otherwise it is null.
DigiPointCoordinate Coordinate of digipoint where cross section is attached.

This coordinate is the cross section chainage value on the digi-point line.

This coordinate is used as the origin for the transformation to the local river coordinate system, when interpolating between cross-lines.

Cross sections with cross section line coordinates does not always intersect the digi-point line exactly at this digi-point, i.e. this point may not lay on the cross section line coordinates!

DirectionUnitVector Direction of flow in river. This is used to find the perpendicular cross section direction. It is reversed when setting the reverse-direction flag, i.e. pointing in negative chainage direction
LeftBankCoor Coordinate at left bank
LeftLowFlowBankCoor Coordinate at left low-flow bank. If no left low flow bank is defined, this is null.
RightBankCoor Coordinate at right bank
RightLowFlowBankCoor Coordinate at right low-flow bank. If no right low flow bank is defined, this is null.

See Also