CroppingByIndicesGetCroppedRegions Method |
Gets the cropped regions.
Namespace: Altaxo.Science.Spectroscopy.CroppingAssembly: AltaxoCore (in AltaxoCore.dll) Version: 4.8.3448.0 (4.8.3448.0)
Syntaxpublic 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,
Int32An enumeration of the start and end (exclusive) indices of the cropped regions.
See Also