SqlGeometry.STTouches Método
Determines whether the specified SqlGeometry touches the current SqlGeometry.
Espacio de nombres: Microsoft.SqlServer.Types
Ensamblado: Microsoft.SqlServer.Types (en Microsoft.SqlServer.Types.dll)
Sintaxis
'Declaración
<SqlMethodAttribute(IsDeterministic := True, IsPrecise := False)> _
Public Function STTouches ( _
other As SqlGeometry _
) As SqlBoolean
'Uso
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
Parámetros
- other
Tipo: Microsoft.SqlServer.Types.SqlGeometry
The SqlGeometry instance to compare to the current SqlGeometry.
Valor devuelto
Tipo: System.Data.SqlTypes.SqlBoolean
Returns true if a SqlGeometry instance spatially touches another SqlGeometry instance. Returns false if it does not.
Comentarios
Two SqlGeometry instances touch if their point sets intersect, but their interiors do not intersect.
This method always returns nulles una referencia NULL (Nothing en Visual Basic). if the spatial reference IDs (SRIDs) of the SqlGeometry instances do not match.