SqlSpatialFunctions.BufferWithTolerance Method
Returns a geometric object representing the union of all point values whose distance from an instance is less than or equal to a specified value, allowing for a specified tolerance.
Assembly: EntityFramework.SqlServer (in EntityFramework.SqlServer.dll)
Name | Description | |
---|---|---|
![]() ![]() | 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. |
SqlSpatialFunctions.BufferWithTolerance Method (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.
[SuppressMessageAttribute("Microsoft.Usage", "CA1801:ReviewUnusedParameters", MessageId = "tolerance")] [SuppressMessageAttribute("Microsoft.Usage", "CA1801:ReviewUnusedParameters", MessageId = "distance")] [SuppressMessageAttribute("Microsoft.Usage", "CA1801:ReviewUnusedParameters", MessageId = "relative")] [DbFunctionAttribute("SqlServer", "BUFFERWITHTOLERANCE")] [SuppressMessageAttribute("Microsoft.Usage", "CA1801:ReviewUnusedParameters", MessageId = "geographyValue")] public static DbGeography BufferWithTolerance( DbGeography geographyValue, Nullable<double> distance, Nullable<double> tolerance, Nullable<bool> relative )
Parameters
- geographyValue
-
Type:
System.Data.Entity.Spatial.DbGeography
The geography value.
- distance
-
Type:
System.Nullable<Double>
The distance.
- tolerance
-
Type:
System.Nullable<Double>
The specified tolerance.
- relative
-
Type:
System.Nullable<Boolean>
Specifying whether the tolerance value is relative or absolute.
Return Value
Type: System.Data.Entity.Spatial.DbGeographyThe union of all point values whose distance from a geography instance is less than or equal to a specified value
SqlSpatialFunctions.BufferWithTolerance Method (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.
[SuppressMessageAttribute("Microsoft.Usage", "CA1801:ReviewUnusedParameters", MessageId = "distance")] [SuppressMessageAttribute("Microsoft.Usage", "CA1801:ReviewUnusedParameters", MessageId = "geometryValue")] [SuppressMessageAttribute("Microsoft.Usage", "CA1801:ReviewUnusedParameters", MessageId = "relative")] [DbFunctionAttribute("SqlServer", "BUFFERWITHTOLERANCE")] [SuppressMessageAttribute("Microsoft.Usage", "CA1801:ReviewUnusedParameters", MessageId = "tolerance")] public static DbGeometry BufferWithTolerance( DbGeometry geometryValue, Nullable<double> distance, Nullable<double> tolerance, Nullable<bool> relative )
Parameters
- geometryValue
-
Type:
System.Data.Entity.Spatial.DbGeometry
The geometry value.
- distance
-
Type:
System.Nullable<Double>
The distance.
- tolerance
-
Type:
System.Nullable<Double>
The specified tolerance.
- relative
-
Type:
System.Nullable<Boolean>
Specifying whether the tolerance value is relative or absolute.
Return Value
Type: System.Data.Entity.Spatial.DbGeometryThe union of all point values whose distance from a geometry instance is less than or equal to a specified value