Delen via


SpaceFillingCurve.Hilbert Method

This API supports the SQL Server 2012 infrastructure and is not intended to be used directly from your code.

Returns the Hilbert curve for the specified point and iteration order of the curve.

Namespace:  Microsoft.SqlServer.Types
Assembly:  Microsoft.SqlServer.Types (in Microsoft.SqlServer.Types.dll)

Syntax

'Declaration
Public Shared Function Hilbert ( _
    order As Integer, _
    x As UInteger, _
    y As UInteger _
) As ULong
'Usage
Dim order As Integer
Dim x As UInteger
Dim y As UInteger
Dim returnValue As ULong

returnValue = SpaceFillingCurve.Hilbert(order, _
    x, y)
public static ulong Hilbert(
    int order,
    uint x,
    uint y
)
public:
static unsigned long long Hilbert(
    int order, 
    unsigned int x, 
    unsigned int y
)
static member Hilbert : 
        order:int * 
        x:uint32 * 
        y:uint32 -> uint64
public static function Hilbert(
    order : int, 
    x : uint, 
    y : uint
) : ulong

Parameters

  • order
    Type: System.Int32
    The iteration order of the curve.
  • x
    Type: System.UInt32
    The x-coordinate of a point within the unit square.
  • y
    Type: System.UInt32
    The y-coordinate of a point within the unit square.

Return Value

Type: System.UInt64
The UInt64 object that represents the Hilbert curve from the specified point and order of the curve.

See Also

Reference

SpaceFillingCurve Class

Microsoft.SqlServer.Types Namespace