อ่านในภาษาอังกฤษ แก้ไข

แชร์ผ่าน


SqlSpatialFunctions.BufferWithTolerance Method

Definition

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.

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.

C#
[System.Data.Objects.DataClasses.EdmFunction("SqlServer", "BUFFERWITHTOLERANCE")]
public static System.Data.Spatial.DbGeography BufferWithTolerance(System.Data.Spatial.DbGeography geographyValue, double? distance, double? tolerance, bool? relative);

Parameters

geographyValue
DbGeography

The geography value.

distance
Nullable<Double>

The distance.

tolerance
Nullable<Double>

The specified tolerance.

relative
Nullable<Boolean>

Specifying whether the tolerance value is relative or absolute.

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

.NET Framework 4.8.1 และรุ่นอื่นๆ
ผลิตภัณฑ์ เวอร์ชัน
.NET Framework 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1

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.

C#
[System.Data.Objects.DataClasses.EdmFunction("SqlServer", "BUFFERWITHTOLERANCE")]
public static System.Data.Spatial.DbGeometry BufferWithTolerance(System.Data.Spatial.DbGeometry geometryValue, double? distance, double? tolerance, bool? relative);

Parameters

geometryValue
DbGeometry

The geometry value.

distance
Nullable<Double>

The distance.

tolerance
Nullable<Double>

The specified tolerance.

relative
Nullable<Boolean>

Specifying whether the tolerance value is relative or absolute.

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

.NET Framework 4.8.1 และรุ่นอื่นๆ
ผลิตภัณฑ์ เวอร์ชัน
.NET Framework 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1