C# Class BitsInterleave, s2geometry

Mostrar archivo Open project: alas/s2geometry Class Usage Examples

Public Methods

Method Description
DeinterleaveUInt32 ( UInt64, code, UInt32, &val0, UInt32, &val1 ) : void
DeinterleaveUint16 ( UInt32, code, UInt16, &val0, UInt16, &val1 ) : void
DeinterleaveUsbyte ( UInt16, val, byte &val0, byte &val1 ) : void
DeinterleaveUsbyte ( UInt32, x, byte &a, byte &b, byte &c ) : void
InterleaveUInt32 ( UInt32, val0, UInt32, val1 ) : UInt64,
InterleaveUint16 ( UInt16, val0, UInt16, val1 ) : UInt32,
InterleaveUsbyte ( byte val0, byte val1 ) : UInt16,
InterleaveUsbyte ( byte val0, byte val1, byte val2 ) : UInt32,

Private Methods

Method Description
SplitFor3 ( byte x, int kShift ) : UInt64,
UnsplitFor3 ( UInt32, x ) : byte

Method Details

DeinterleaveUInt32() public static method

public static DeinterleaveUInt32 ( UInt64, code, UInt32, &val0, UInt32, &val1 ) : void
code UInt64,
val0 UInt32,
val1 UInt32,
return void

DeinterleaveUint16() public static method

public static DeinterleaveUint16 ( UInt32, code, UInt16, &val0, UInt16, &val1 ) : void
code UInt32,
val0 UInt16,
val1 UInt16,
return void

DeinterleaveUsbyte() public static method

public static DeinterleaveUsbyte ( UInt16, val, byte &val0, byte &val1 ) : void
val UInt16,
val0 byte
val1 byte
return void

DeinterleaveUsbyte() public static method

public static DeinterleaveUsbyte ( UInt32, x, byte &a, byte &b, byte &c ) : void
x UInt32,
a byte
b byte
c byte
return void

InterleaveUInt32() public static method

public static InterleaveUInt32 ( UInt32, val0, UInt32, val1 ) : UInt64,
val0 UInt32,
val1 UInt32,
return UInt64,

InterleaveUint16() public static method

public static InterleaveUint16 ( UInt16, val0, UInt16, val1 ) : UInt32,
val0 UInt16,
val1 UInt16,
return UInt32,

InterleaveUsbyte() public static method

public static InterleaveUsbyte ( byte val0, byte val1 ) : UInt16,
val0 byte
val1 byte
return UInt16,

InterleaveUsbyte() public static method

public static InterleaveUsbyte ( byte val0, byte val1, byte val2 ) : UInt32,
val0 byte
val1 byte
val2 byte
return UInt32,