Sdílet prostřednictvím


DbSpatialServices.Relate(DbGeometry, DbGeometry, String) Metoda

Definice

Určuje, zda jsou tyto dvě hodnoty DbGeometry prostorově propojeny podle dané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 relaci.

matrix
String

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

Návraty

true pokud se tato geometryValue hodnota vztahuje k otherGeometry podle zadané matice vzoru průniku; v opačném případě false.

Výjimky

geometryValue otherGeometry matrix

geometryValue otherGeometry

Platí pro