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.