SqlGeometry.STCentroid 메서드

SQL Server 2012

Returns the geometric center of a SqlGeometry instance consisting of one or more polygons.

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

[SqlMethodAttribute(IsDeterministic = true, IsPrecise = false)]
public SqlGeometry STCentroid()

반환 값

유형: Microsoft.SqlServer.Types.SqlGeometry
A SqlGeometry object that represents the geometric center of the calling SqlGeometry.

STCentroid returns null if the SqlGeometry instance is not a Polygon or MultiPolygon type.

커뮤니티 추가 항목

추가
표시: