CroppingByIndicesGetCroppedRegions Method |
Gets the cropped regions.
Namespace: Altaxo.Science.Spectroscopy.CroppingAssembly: AltaxoCore (in AltaxoCore.dll) Version: 4.8.3179.0 (4.8.3179.0)
Syntax 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
- Total length of the array.
Return Value
IEnumerableValueTupleInt32,
Int32Enumeration of start and end (exclusive) index of the cropped regions.
See Also