Udostępnij przez


DbSpatialServices.Intersects Metoda

Definicja

Przeciążenia

Intersects(DbGeography, DbGeography)

Określa, czy dwie podane DbGeography wartości są przecinane przestrzennie.

Intersects(DbGeometry, DbGeometry)

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

Intersects(DbGeography, DbGeography)

Określa, czy dwie podane DbGeography wartości są przecinane przestrzennie.

public abstract bool Intersects(System.Data.Entity.Spatial.DbGeography geographyValue, System.Data.Entity.Spatial.DbGeography otherGeography);
abstract member Intersects : System.Data.Entity.Spatial.DbGeography * System.Data.Entity.Spatial.DbGeography -> bool
Public MustOverride Function Intersects (geographyValue As DbGeography, otherGeography As DbGeography) As Boolean

Parametry

geographyValue
DbGeography

Pierwsza wartość geografii do porównania dla przecięcia.

otherGeography
DbGeography

Druga wartość geografii do porównania dla skrzyżowania.

Zwraca

true, jeśli geographyValue przecina inneGeography; w przeciwnym razie wartość false.

Wyjątki

geographyValue lub otherGeography ma wartość null.

geographyValue lub otherGeography jest niezgodny z tą implementacją usług przestrzennych.

Dotyczy

Intersects(DbGeometry, DbGeometry)

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

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

Parametry

geometryValue
DbGeometry

Pierwsza wartość geometryczna do porównania dla przecięcia.

otherGeometry
DbGeometry

Druga wartość geometryczna do porównania dla przecięcia.

Zwraca

true, jeśli geometryValue przecina inneGeometry; w przeciwnym razie wartość false.

Wyjątki

geometryValue lub otherGeometry ma wartość null.

geometryValue lub otherGeometry jest niezgodny z tą implementacją usług przestrzennych.

Dotyczy