DbSpatialServices.Intersection Metódus

Definíció

Két érték metszetét számítja ki.

Túlterhelések

Name Description
Intersection(DbGeometry, DbGeometry)

Két DbGeometry érték metszetét számítja ki.

Intersection(DbGeography, DbGeography)

Két DbGeography érték metszetét számítja ki.

Intersection(DbGeometry, DbGeometry)

Két DbGeometry érték metszetét számítja ki.

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

Paraméterek

geometryValue
DbGeometry

Az első geometriai érték.

otherGeometry
DbGeometry

A második geometriai érték.

Válaszok

Egy új DbGeometry érték, amely a metszéspontot geometryValue és otherGeometrya .

Kivételek

geometryValue otherGeometry

geometryValue otherGeometry

A következőre érvényes:

Intersection(DbGeography, DbGeography)

Két DbGeography érték metszetét számítja ki.

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

Paraméterek

geographyValue
DbGeography

Az első földrajzi érték.

otherGeography
DbGeography

A második földrajzi érték.

Válaszok

Egy új DbGeography érték, amely a metszéspontot geographyValue és otherGeographya .

Kivételek

geographyValue otherGeography

geographyValue otherGeography

A következőre érvényes: