ReachCrossSections Class

Class containing all crossSections for one reach/topo-id combination. It can either contain one global cross section (the MikeUrban way, ID based), or a set of crosssections, sorted on chainage (the Mike11 way, ID+chainage based). In case of a set of cross-sections, each cross section must have a valid Location.

Definition

Namespace: DHI.Mike1D.CrossSectionModule
Assembly: DHI.Mike1D.CrossSectionModule (in DHI.Mike1D.CrossSectionModule.dll) Version: 24.0.0.0 (11.1.1.1111)
C#
public class ReachCrossSections : IEnumerable<ICrossSection>, 
	IEnumerable
Inheritance
Object    ReachCrossSections
Implements
IEnumerableICrossSection, IEnumerable

Properties

Count Number of cross sections in reach
GlobalCrossSection Get/Set the global cross-section.
ReachId Reach-Id of all reaches in this object
TopoId Topo-Id of all reaches in this object

Methods

Add Add cross section to set. This will fail if set is global.
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)
GetChainageSortedCrossSections If set is not global, return the list of chainage sorted cross sections. Otherwise null.
GetEnumerator Returns an enumerator that iterates through the collection.
GetHashCodeServes as the default hash function.
(Inherited from Object)
GetTypeGets the Type of the current instance.
(Inherited from Object)
IsGlobal Returns true if this set holds only one global cross section
MemberwiseCloneCreates a shallow copy of the current Object.
(Inherited from Object)
ToStringReturns a string that represents the current object.
(Inherited from Object)

See Also