CastArray3DTFrom, TToSlice(Int32, Int32) Method
Gets a new
CastArray3DTFrom, TTo instance, which represents a subrange of planes of the current instance starting with the specified
startPlaneIndex and
planeCount.
Please note that the size of
TTo multiplied by
Width times
Height must be divisible by the size of
TFrom.
Namespace: KGySoft.CollectionsAssembly: KGySoft.CoreLibraries (in KGySoft.CoreLibraries.dll) Version: 10.0.0
public CastArray3D<TFrom, TTo> Slice(
int startPlaneIndex,
int planeCount
)
Public Function Slice (
startPlaneIndex As Integer,
planeCount As Integer
) As CastArray3D(Of TFrom, TTo)
public:
CastArray3D<TFrom, TTo> Slice(
int startPlaneIndex,
int planeCount
)
member Slice :
startPlaneIndex : int *
planeCount : int -> CastArray3D<'TFrom, 'TTo>
- startPlaneIndex Int32
- The offset that points to the first plane of the returned CastArray3DTFrom, TTo.
- planeCount Int32
- The desired number of planes of the returned CastArray3DTFrom, TTo.
CastArray3DTFrom,
TToThe subrange of planes of the current
CastArray3DTFrom, TTo instance indicated by the specified
startPlaneIndex and
planeCount.