SqlSpatialFunctions.BufferWithTolerance Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
BufferWithTolerance(DbGeography, Nullable<Double>, Nullable<Double>, Nullable<Boolean>) |
Returns a geometric object representing the union of all point values whose distance from a geography instance is less than or equal to a specified value, allowing for a specified tolerance. |
BufferWithTolerance(DbGeometry, Nullable<Double>, Nullable<Double>, Nullable<Boolean>) |
Returns a geometric object representing the union of all point values whose distance from a geometry instance is less than or equal to a specified value, allowing for a specified tolerance. |
BufferWithTolerance(DbGeography, Nullable<Double>, Nullable<Double>, Nullable<Boolean>)
Returns a geometric object representing the union of all point values whose distance from a geography instance is less than or equal to a specified value, allowing for a specified tolerance.
[System.Data.Entity.DbFunction("SqlServer", "BUFFERWITHTOLERANCE")]
[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA1801:ReviewUnusedParameters", MessageId="tolerance")]
[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA1801:ReviewUnusedParameters", MessageId="distance")]
[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA1801:ReviewUnusedParameters", MessageId="relative")]
[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA1801:ReviewUnusedParameters", MessageId="geographyValue")]
public static System.Data.Entity.Spatial.DbGeography BufferWithTolerance (System.Data.Entity.Spatial.DbGeography geographyValue, Nullable<double> distance, Nullable<double> tolerance, Nullable<bool> relative);
static member BufferWithTolerance : System.Data.Entity.Spatial.DbGeography * Nullable<double> * Nullable<double> * Nullable<bool> -> System.Data.Entity.Spatial.DbGeography
Public Shared Function BufferWithTolerance (geographyValue As DbGeography, distance As Nullable(Of Double), tolerance As Nullable(Of Double), relative As Nullable(Of Boolean)) As DbGeography
Parameters
- geographyValue
- DbGeography
The geography value.
Returns
The union of all point values whose distance from a geography instance is less than or equal to a specified value
- Attributes
Applies to
BufferWithTolerance(DbGeometry, Nullable<Double>, Nullable<Double>, Nullable<Boolean>)
Returns a geometric object representing the union of all point values whose distance from a geometry instance is less than or equal to a specified value, allowing for a specified tolerance.
[System.Data.Entity.DbFunction("SqlServer", "BUFFERWITHTOLERANCE")]
[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA1801:ReviewUnusedParameters", MessageId="distance")]
[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA1801:ReviewUnusedParameters", MessageId="geometryValue")]
[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA1801:ReviewUnusedParameters", MessageId="relative")]
[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA1801:ReviewUnusedParameters", MessageId="tolerance")]
public static System.Data.Entity.Spatial.DbGeometry BufferWithTolerance (System.Data.Entity.Spatial.DbGeometry geometryValue, Nullable<double> distance, Nullable<double> tolerance, Nullable<bool> relative);
static member BufferWithTolerance : System.Data.Entity.Spatial.DbGeometry * Nullable<double> * Nullable<double> * Nullable<bool> -> System.Data.Entity.Spatial.DbGeometry
Public Shared Function BufferWithTolerance (geometryValue As DbGeometry, distance As Nullable(Of Double), tolerance As Nullable(Of Double), relative As Nullable(Of Boolean)) As DbGeometry
Parameters
- geometryValue
- DbGeometry
The geometry value.
Returns
The union of all point values whose distance from a geometry instance is less than or equal to a specified value
- Attributes
Applies to
Entity Framework