Click or drag to resize

MappingBox Class

A mapping box 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.

Inheritance Hierarchy
SystemObject
  DHI.Mike1D.Engine.FloodMapsMappingBox

Namespace:  DHI.Mike1D.Engine.FloodMaps
Assembly:  DHI.Mike1D.Engine (in DHI.Mike1D.Engine.dll) Version: 16.0.0.0 (11.1.1.1111)
Syntax
C#
public class MappingBox

The MappingBox type exposes the following members.

Constructors
Properties
  NameDescription
Public propertyEndChainage
End chainage of mapping box
Public propertyExtent
Extent of mapping box.
Public propertyIsActive
Flag specifying whether this mapping box is being used by anyone
Public propertyReach
Reach that mapping box belongs to
Public propertyStartChainage
Start chainage of mapping box
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 methodGetHashCode
Serves as a hash function for a particular type.
(Inherited from Object.)
Public methodGetHGridpointCrossSectionFactor
Interpolation factor between the two h points with cross section, based on the factor within the map box, e.g. u from st to uv coordiantes
Public methodGetHGridpointFactor
Interpolation factor between the two neighbouring h points, based on the factor within the map box, e.g. u from [!:MapSt2Uv]
Public methodGetQuad
Returns the MapBoxQuad that contains the (x,y) coordinate, or null if none does so.
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodInit
iniitalize mapping box
Public methodIsPointInMapBox
Returns true if (x,y) point is inside mappint box.
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Top
See Also