Click or drag to resize

CroppingByIndicesGetCroppedRegions Method

Gets the cropped regions.

Namespace: Altaxo.Science.Spectroscopy.Cropping
Assembly: AltaxoCore (in AltaxoCore.dll) Version: 4.8.3448.0 (4.8.3448.0)
Syntax
C#
public IEnumerable<(int start, int end)> GetCroppedRegions(
	int[]? regions,
	int arrayLength
)

Parameters

regions  Int32
The regions. Each element is the start index of a new region.
arrayLength  Int32
The total length of the array.

Return Value

IEnumerableValueTupleInt32, Int32
An enumeration of the start and end (exclusive) indices of the cropped regions.
See Also