Share via


DbSpatialServices.Relate(DbGeometry, DbGeometry, String) Método

Definición

Determina si los dos valores especificados de DbGeometry están relacionados espacialmente de acuerdo con el modelo de intersección Dimensionally Extended Nine-Intersection Model (DE-9IM) especificado.

public:
 abstract bool Relate(System::Data::Spatial::DbGeometry ^ geometryValue, System::Data::Spatial::DbGeometry ^ otherGeometry, System::String ^ matrix);
public abstract bool Relate (System.Data.Spatial.DbGeometry geometryValue, System.Data.Spatial.DbGeometry otherGeometry, string matrix);
abstract member Relate : System.Data.Spatial.DbGeometry * System.Data.Spatial.DbGeometry * string -> bool
Public MustOverride Function Relate (geometryValue As DbGeometry, otherGeometry As DbGeometry, matrix As String) As Boolean

Parámetros

geometryValue
DbGeometry

Primer valor de geometría.

otherGeometry
DbGeometry

Valor de geometría que se debe comparar con el primer valor de geometría para ver su relación.

matrix
String

Cadena que contiene la representación de texto del modelo de la intersección (DE-9IM) que define la relación.

Devoluciones

true si este valor geometryValue se relaciona con otherGeometry según la matriz especificada del patrón de intersección; si no false.

Excepciones

geometryValue otherGeometry matrix

geometryValue otherGeometry

Se aplica a