MapBox Class

A MapBox is a box between two cross section lines. The box is split up into a number of quadrilaterals, with at least one left and one right of the river center line. The two inner most quads share the river centre line as the baseline, while more outer-laying quads share base line with the more inner quad top line.

In cases where the cross section lines intersects, the quads either becomes a triangle, or degenerates and must be discarded.

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 MapBox
Inheritance
Object    MapBox

Constructors

MapBox Constructor

Properties

DoChainage End/downstream chainage of mapping box
DoCrossLine End/downstream cross-line of mapping box
Extent Extent of mapping box.
IsActive Flag specifying whether this mapping box is being used by anyone
Quads List of mapping box quads. Empty if mapping box is invalid in some way.
UpChainage Start/upstream chainage of mapping box
UpCrossLine Start/upstream cross-line of mapping box

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)
GetHSpanFactor Interpolation factor between the two neighbouring h points, based on the factor within the map box.
GetQuad Returns the MapBoxQuad that contains the (x,y) coordinate, or null if none does so.
GetTypeGets the Type of the current instance.
(Inherited from Object)
Init Initialize mapping box
IsPointInMapBox Returns true if (x,y) point is inside map box.
MemberwiseCloneCreates a shallow copy of the current Object.
(Inherited from Object)
ToStringReturns a string that represents the current object.
(Inherited from Object)

See Also