Udostępnij za pośrednictwem


DbSpatialServices.Touches(DbGeometry, DbGeometry) Metoda

Definicja

Określa, czy dwie podane DbGeometry wartości są dotykane przestrzennie.

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

Parametry

geometryValue
DbGeometry

Pierwsza wartość geometryczna.

otherGeometry
DbGeometry

Druga wartość geometryczna.

Zwraca

true jeśli geometryValue dotknie otherGeometry; w przeciwnym razie false.

Wyjątki

geometryValue otherGeometry

geometryValue otherGeometry

Dotyczy