次の方法で共有


STConvexHull メソッド

SqlGeometry インスタンスの凸包を表すオブジェクトを返します。

名前空間:  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
呼び出し元の SqlGeometry の凸包を表す SqlGeometry 値です。

説明

STConvexHull は、指定された SqlGeometry インスタンスを含む最小の凸多角形を返します。Points インスタンスまたは同一直線上の LineString インスタンスは、入力と同じ型のインスタンスを作成します。