다음을 통해 공유


STConvexHull 메서드

Returns an object that represents the convex hull of a SqlGeometry instance.

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

구문

‘선언
<SqlMethodAttribute(IsDeterministic := True, IsPrecise := False)> _
Public Function STConvexHull As SqlGeometry
‘사용 방법
Dim instance As SqlGeometry
Dim returnValue As SqlGeometry

returnValue = instance.STConvexHull()
[SqlMethodAttribute(IsDeterministic = true, IsPrecise = false)]
public SqlGeometry STConvexHull()
[SqlMethodAttribute(IsDeterministic = true, IsPrecise = false)]
public:
SqlGeometry^ STConvexHull()
[<SqlMethodAttribute(IsDeterministic = true, IsPrecise = false)>]
member STConvexHull : unit -> SqlGeometry 
public function STConvexHull() : SqlGeometry

반환 값

유형: Microsoft.SqlServer.Types. . :: . .SqlGeometry
A SqlGeometry value that represents the convex hull of the calling SqlGeometry.

주의

STConvexHull returns the smallest convex polygon that contains the given SqlGeometry instance. Points or co-linear LineString instances will produce an instance of the same type as that of the input.