Поделиться через


Метод SqlGeometry.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.

См. также

Справочник

SqlGeometry Класс

Пространство имен Microsoft.SqlServer.Types