Export (0) Print
Expand All
Expand Minimize
This topic has not yet been rated - Rate this topic

SqlGeometry.STConvexHull Method

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

Namespace:  Microsoft.SqlServer.Types
Assembly:  Microsoft.SqlServer.Types (in Microsoft.SqlServer.Types.dll)
'Declaration
<SqlMethodAttribute(IsDeterministic := True, IsPrecise := False)> _
PublicFunctionSTConvexHullAsSqlGeometry
'Usage
DiminstanceAsSqlGeometryDimreturnValueAsSqlGeometryreturnValue = instance.STConvexHull()

Return Value

Type: 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.

Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft. All rights reserved.