SqlSpatialServices.Intersection Method

Definition

Overloads

Intersection(DbGeometry, DbGeometry)

Computes the intersection of two DbGeometry values.

Intersection(DbGeography, DbGeography)

Computes the intersection of two DbGeography values.

Intersection(DbGeometry, DbGeometry)

Computes the intersection of two DbGeometry values.

public override System.Data.Entity.Spatial.DbGeometry Intersection (System.Data.Entity.Spatial.DbGeometry geometryValue, System.Data.Entity.Spatial.DbGeometry otherGeometry);
override this.Intersection : System.Data.Entity.Spatial.DbGeometry * System.Data.Entity.Spatial.DbGeometry -> System.Data.Entity.Spatial.DbGeometry
Public Overrides Function Intersection (geometryValue As DbGeometry, otherGeometry As DbGeometry) As DbGeometry

Parameters

geometryValue
DbGeometry

The first geometry value.

otherGeometry
DbGeometry

The second geometry value.

Returns

A new DbGeometry value representing the intersection of geometryValue and otherGeometry.

Applies to

Intersection(DbGeography, DbGeography)

Computes the intersection of two DbGeography values.

public override System.Data.Entity.Spatial.DbGeography Intersection (System.Data.Entity.Spatial.DbGeography geographyValue, System.Data.Entity.Spatial.DbGeography otherGeography);
override this.Intersection : System.Data.Entity.Spatial.DbGeography * System.Data.Entity.Spatial.DbGeography -> System.Data.Entity.Spatial.DbGeography
Public Overrides Function Intersection (geographyValue As DbGeography, otherGeography As DbGeography) As DbGeography

Parameters

geographyValue
DbGeography

The first geography value.

otherGeography
DbGeography

The second geography value.

Returns

A new DbGeography value representing the intersection of geographyValue and otherGeography.

Applies to