Nota:
El acceso a esta página requiere autorización. Puede intentar iniciar sesión o cambiar directorios.
El acceso a esta página requiere autorización. Puede intentar cambiar los directorios.
Esta API admite la infraestructura de SQL Server 2012 y no está prevista su utilización directa desde el código.
Returns the grid cell for the given SqlGeometry instance.
Espacio de nombres: Microsoft.SqlServer.Types
Ensamblado: Microsoft.SqlServer.Types (en Microsoft.SqlServer.Types.dll)
Sintaxis
'Declaración
<SqlFunctionAttribute(FillRowMethodName := "FillRow")> _
Public Shared Function Planar ( _
geometry As SqlGeometry, _
rootX As Double, _
rootY As Double, _
maxX As Double, _
maxY As Double, _
cardinality As Integer, _
maxDepth As Integer, _
options As Integer, _
distanceBuffer As SqlDouble _
) As IEnumerable
'Uso
Dim geometry As SqlGeometry
Dim rootX As Double
Dim rootY As Double
Dim maxX As Double
Dim maxY As Double
Dim cardinality As Integer
Dim maxDepth As Integer
Dim options As Integer
Dim distanceBuffer As SqlDouble
Dim returnValue As IEnumerable
returnValue = SpatialTessellationFunction.Planar(geometry, _
rootX, rootY, maxX, maxY, cardinality, _
maxDepth, options, distanceBuffer)
[SqlFunctionAttribute(FillRowMethodName = "FillRow")]
public static IEnumerable Planar(
SqlGeometry geometry,
double rootX,
double rootY,
double maxX,
double maxY,
int cardinality,
int maxDepth,
int options,
SqlDouble distanceBuffer
)
[SqlFunctionAttribute(FillRowMethodName = L"FillRow")]
public:
static IEnumerable^ Planar(
SqlGeometry^ geometry,
double rootX,
double rootY,
double maxX,
double maxY,
int cardinality,
int maxDepth,
int options,
SqlDouble distanceBuffer
)
[<SqlFunctionAttribute(FillRowMethodName = "FillRow")>]
static member Planar :
geometry:SqlGeometry *
rootX:float *
rootY:float *
maxX:float *
maxY:float *
cardinality:int *
maxDepth:int *
options:int *
distanceBuffer:SqlDouble -> IEnumerable
public static function Planar(
geometry : SqlGeometry,
rootX : double,
rootY : double,
maxX : double,
maxY : double,
cardinality : int,
maxDepth : int,
options : int,
distanceBuffer : SqlDouble
) : IEnumerable
Parámetros
- geometry
Tipo: Microsoft.SqlServer.Types.SqlGeometry
The geometry object.
- rootX
Tipo: System.Double
The x-coordinate of the lower-left corner of the bounding box.
- rootY
Tipo: System.Double
The y-coordinate of the lower-left corner of the bounding box.
- maxX
Tipo: System.Double
The x-coordinate of the upper-right corner of the bounding box.
- maxY
Tipo: System.Double
The y-coordinate of the upper-right corner of the bounding box.
- cardinality
Tipo: System.Int32
The number that represents the maximum cells in tessellation output.
- maxDepth
Tipo: System.Int32
The maximum depth.
- options
Tipo: System.Int32
The value that contains bitwise options for interval mode, coverage generation, and fuzz usage.
- distanceBuffer
Tipo: System.Data.SqlTypes.SqlDouble
The distance buffer.
Valor devuelto
Tipo: System.Collections.IEnumerable
The IEnumerable object that represents the grid cell for the given SqlGeometry instance.