SqlGeometry インスタンスが別の SqlGeometry インスタンスと交差する地点を表すオブジェクトを返します。
名前空間: Microsoft.SqlServer.Types
アセンブリ: Microsoft.SqlServer.Types (Microsoft.SqlServer.Types.dll)
構文
'宣言
<SqlMethodAttribute(IsDeterministic := True, IsPrecise := False)> _
Public Function STIntersection ( _
other As SqlGeometry _
) As SqlGeometry
'使用
Dim instance As SqlGeometry
Dim other As SqlGeometry
Dim returnValue As SqlGeometry
returnValue = instance.STIntersection(other)
[SqlMethodAttribute(IsDeterministic = true, IsPrecise = false)]
public SqlGeometry STIntersection(
SqlGeometry other
)
[SqlMethodAttribute(IsDeterministic = true, IsPrecise = false)]
public:
SqlGeometry^ STIntersection(
SqlGeometry^ other
)
[<SqlMethodAttribute(IsDeterministic = true, IsPrecise = false)>]
member STIntersection :
other:SqlGeometry -> SqlGeometry
public function STIntersection(
other : SqlGeometry
) : SqlGeometry
パラメーター
- other
型: Microsoft.SqlServer.Types.SqlGeometry
交差する地点を特定するために、STIntersection を呼び出したインスタンスと比較される、SqlGeometry インスタンスです。
戻り値
型: Microsoft.SqlServer.Types.SqlGeometry
呼び出し元の SqlGeometry インスタンスが指定された SqlGeometry インスタンスと交差する地点を表す SqlGeometry オブジェクトです。
説明
2 つの SqlGeometry インスタンスの SRID (spatial reference ID) が一致しない場合、STIntersection は常に NULL を返します。