Click or drag to resize

ProcessingSortPointsWithTopFirst Method

Order cross section points such that the point with the highest z-value comes first.

This is utilized by closed cross sections, to go from highest point, counterclockwise round to highest point again.

An additional endpoint at the top may be add, such that the first and last cross section point are identical.

Namespace:  DHI.Mike1D.CrossSectionModule
Assembly:  DHI.Mike1D.CrossSectionModule (in DHI.Mike1D.CrossSectionModule.dll) Version: 16.0.0.0 (11.1.1.1111)
Syntax
C#
public static List<ICrossSectionPoint> SortPointsWithTopFirst(
	CrossSectionPointList pointList
)

Parameters

pointList
Type: DHI.Mike1D.CrossSectionModuleCrossSectionPointList

Return Value

Type: ListICrossSectionPoint
See Also