DbSpatialServices.Intersection Metod
Definition
Viktigt
En del information gäller för förhandsversionen av en produkt och kan komma att ändras avsevärt innan produkten blir allmänt tillgänglig. Microsoft lämnar inga garantier, uttryckliga eller underförstådda, avseende informationen som visas här.
Beräknar skärningspunkten mellan två värden.
Överlagringar
| Name | Description |
|---|---|
| Intersection(DbGeometry, DbGeometry) |
Beräknar skärningspunkten mellan två DbGeometry värden. |
| Intersection(DbGeography, DbGeography) |
Beräknar skärningspunkten mellan två DbGeography värden. |
Intersection(DbGeometry, DbGeometry)
Beräknar skärningspunkten mellan två DbGeometry värden.
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
Parametrar
- geometryValue
- DbGeometry
Det första geometrivärdet.
- otherGeometry
- DbGeometry
Det andra geometrivärdet.
Returer
Ett nytt DbGeometry värde som representerar skärningspunkten geometryValue för och otherGeometry.
Undantag
geometryValue
otherGeometry
geometryValue
otherGeometry
Gäller för
Intersection(DbGeography, DbGeography)
Beräknar skärningspunkten mellan två DbGeography värden.
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
Parametrar
- geographyValue
- DbGeography
Det första geografivärdet.
- otherGeography
- DbGeography
Det andra geografivärdet.
Returer
Ett nytt DbGeography värde som representerar skärningspunkten geographyValue för och otherGeography.
Undantag
geographyValue
otherGeography
geographyValue
otherGeography