DbSpatialServices.Relate(DbGeometry, DbGeometry, String) Metoda

Definice

Určuje, zda jsou dvě dané DbGeometry hodnoty prostorově spojeny podle zadaného průsečíku modelu DE-9IM (Dimensionally Extended Nine-Intersection Model).

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

Parametry

geometryValue
DbGeometry

První hodnota geometrie.

otherGeometry
DbGeometry

Hodnota geometrie, která by měla být porovnána s první hodnotou geometrie pro vztah.

matrix
String

Řetězec, který obsahuje textovou reprezentaci vzoru průniku (DE-9IM), který definuje relaci.

Návraty

true pokud tato geometryValue hodnota souvisí se otherGeometry zadanou maticí vzoru průsečíku; jinak false.

Výjimky

geometryValue otherGeometry matrix

geometryValue otherGeometry

Platí pro