Bagikan melalui


DbSpatialServices.Intersection Metode

Definisi

Menghitung irisan dua nilai.

Overload

Intersection(DbGeometry, DbGeometry)

Menghitung irisan dua DbGeometry nilai.

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

Parameter

geometryValue
DbGeometry

Nilai geometri pertama.

otherGeometry
DbGeometry

Nilai geometri kedua.

Mengembalikan

Nilai baru DbGeometry yang mewakili persimpangan geometryValue dan otherGeometry.

Pengecualian

geometryValue otherGeometry

geometryValue otherGeometry

Berlaku untuk

Intersection(DbGeography, DbGeography)

Menghitung irisan dua DbGeography nilai.

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

Parameter

geographyValue
DbGeography

Nilai geografi pertama.

otherGeography
DbGeography

Nilai geografi kedua.

Mengembalikan

Nilai baru DbGeography yang mewakili persimpangan geographyValue dan otherGeography.

Pengecualian

geographyValue otherGeography

geographyValue otherGeography

Berlaku untuk