SqlSpatialServices.Intersection Method

 

Computes the intersection of two given values.

Namespace:   System.Data.Entity.SqlServer
Assembly:  EntityFramework.SqlServer (in EntityFramework.SqlServer.dll)


SqlSpatialServices.Intersection Method (DbGeography, DbGeography)

Computes the intersection of two DbGeography values.

public override DbGeography Intersection(
	DbGeography geographyValue,
	DbGeography otherGeography
)

Parameters

geographyValue
Type: System.Data.Entity.Spatial.DbGeography

The first geography value.

otherGeography
Type: System.Data.Entity.Spatial.DbGeography

The second geography value.

Return Value

Type: System.Data.Entity.Spatial.DbGeography

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


SqlSpatialServices.Intersection Method (DbGeometry, DbGeometry)

Computes the intersection of two DbGeometry values.

public override DbGeometry Intersection(
	DbGeometry geometryValue,
	DbGeometry otherGeometry
)

Parameters

geometryValue
Type: System.Data.Entity.Spatial.DbGeometry

The first geometry value.

otherGeometry
Type: System.Data.Entity.Spatial.DbGeometry

The second geography value.

Return Value

Type: System.Data.Entity.Spatial.DbGeometry

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