Get the offset of a given position.


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

Syntax

Visual Basic (Declaration)
Public Shared Function GetOffset( _ 
   ByVal dims As Integer(),  _ 
   ByVal pos As Integer() _ 
) As Integer
C#
public static int GetOffset(
   int[] dims,
   int[] pos
)
C++
public:
 static int GetOffset(
   array<int>^ dims,
   array<int>^ pos
)
J#
public static int GetOffset(
   int[] dims,
   int[] pos
)
JScript
public static  function GetOffset(
   dims : int[],
   pos : int[]
) : int

Parameters

dims
The dimensions of the array.
pos
The index requested.

See Also