Bagikan melalui


DbSpatialServices.Intersects Metode

Definisi

Menentukan apakah dua nilai yang diberikan secara spasial bersinggungan.

Overload

Intersects(DbGeography, DbGeography)

Menentukan apakah dua nilai yang diberikan DbGeography secara spasial bersinggungan.

Intersects(DbGeometry, DbGeometry)

Menentukan apakah dua nilai yang diberikan DbGeometry secara spasial bersinggungan.

Intersects(DbGeography, DbGeography)

Menentukan apakah dua nilai yang diberikan DbGeography secara spasial bersinggungan.

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

Parameter

geographyValue
DbGeography

Nilai geografi pertama yang dibandingkan dengan persimpangan.

otherGeography
DbGeography

Nilai geografi kedua untuk dibandingkan dengan persimpangan.

Mengembalikan

true jika geographyValue bersinggungan otherGeography; jika tidak false.

Pengecualian

geographyValue otherGeography

geographyValue otherGeography

Berlaku untuk

Intersects(DbGeometry, DbGeometry)

Menentukan apakah dua nilai yang diberikan DbGeometry secara spasial bersinggungan.

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

Parameter

geometryValue
DbGeometry

Nilai geometri pertama yang dibandingkan dengan persimpangan.

otherGeometry
DbGeometry

Nilai geometri kedua untuk dibandingkan dengan persimpangan.

Mengembalikan

true jika geometryValue bersinggungan otherGeometry; jika tidak false.

Pengecualian

geometryValue otherGeometry

geometryValue otherGeometry

Berlaku untuk