SqlGeometry.STBuffer 메서드

SQL Server 2012

Returns a geometric object that represents the union of all points whose distance from a SqlGeometry instance is less than or equal to a specified value.

네임스페이스:  Microsoft.SqlServer.Types
어셈블리:  Microsoft.SqlServer.Types(Microsoft.SqlServer.Types.dll)

[SqlMethodAttribute(IsDeterministic = true, IsPrecise = false)]
public SqlGeometry STBuffer(
	double distance
)

매개 변수

distance
유형: System.Double
A double that specifies the distance from the SqlGeometry instance around which to calculate the buffer.

반환 값

유형: Microsoft.SqlServer.Types.SqlGeometry
A SqlGeometry object that represents the union of all points whose distance from the calling SqlGeometry is less than or equal to the specified value.

STBuffer calculates a buffer in the same manner as BufferWithTolerance, that specifies tolerance = distance * .001 and relative = true.

A negative buffer removes all points within the given distance of the boundary of the SqlGeometry.

커뮤니티 추가 항목

추가
표시: