Increment the offset within the position array. Note that we never look at the last index since we copy data a block at a time and not byte by byte.


Namespace: nom.tam.image
Assembly: CSharpFITS_v1.1 (in CSharpFITS_v1.1.dll)

Syntax

Visual Basic (Declaration)
Protected Shared Function IncrementPosition( _ 
   ByVal start As Integer(),  _ 
   ByVal current As Integer(),  _ 
   ByVal lengths As Integer() _ 
) As Boolean
C#
protected static bool IncrementPosition(
   int[] start,
   int[] current,
   int[] lengths
)
C++
protected:
 static bool IncrementPosition(
   array<int>^ start,
   array<int>^ current,
   array<int>^ lengths
)
J#
protected static bool IncrementPosition(
   int[] start,
   int[] current,
   int[] lengths
)
JScript
protected static  function IncrementPosition(
   start : int[],
   current : int[],
   lengths : int[]
) : bool

Parameters

start
starting corner values.
current
current offsets.
lengths
The desired dimensions of the subset.

See Also