SqlGeometry.STTouches-Methode
Determines whether the specified SqlGeometry touches the current SqlGeometry.
Namespace: Microsoft.SqlServer.Types
Assembly: Microsoft.SqlServer.Types (in Microsoft.SqlServer.Types.dll)
Syntax
'Declaration
<SqlMethodAttribute(IsDeterministic := True, IsPrecise := False)> _
Public Function STTouches ( _
other As SqlGeometry _
) As SqlBoolean
'Usage
Dim instance As SqlGeometry
Dim other As SqlGeometry
Dim returnValue As SqlBoolean
returnValue = instance.STTouches(other)
[SqlMethodAttribute(IsDeterministic = true, IsPrecise = false)]
public SqlBoolean STTouches(
SqlGeometry other
)
[SqlMethodAttribute(IsDeterministic = true, IsPrecise = false)]
public:
SqlBoolean STTouches(
SqlGeometry^ other
)
[<SqlMethodAttribute(IsDeterministic = true, IsPrecise = false)>]
member STTouches :
other:SqlGeometry -> SqlBoolean
public function STTouches(
other : SqlGeometry
) : SqlBoolean
Parameter
- other
Typ: Microsoft.SqlServer.Types.SqlGeometry
The SqlGeometry instance to compare to the current SqlGeometry.
Rückgabewert
Typ: System.Data.SqlTypes.SqlBoolean
Returns true if a SqlGeometry instance spatially touches another SqlGeometry instance. Returns false if it does not.
Hinweise
Two SqlGeometry instances touch if their point sets intersect, but their interiors do not intersect.
This method always returns nullein NULL-Verweis (Nothing in Visual Basic) if the spatial reference IDs (SRIDs) of the SqlGeometry instances do not match.