SqlSpatialServices.Relate Method (DbGeometry, DbGeometry, String)
Determines whether the two given DbGeometry values are spatially related according to the given Dimensionally Extended Nine-Intersection Model (DE-9IM) intersection pattern.
Assembly: EntityFramework.SqlServer (in EntityFramework.SqlServer.dll)
public override bool Relate( DbGeometry geometryValue, DbGeometry otherGeometry, string matrix )
Parameters
- geometryValue
-
Type:
System.Data.Entity.Spatial.DbGeometry
The first geometry value.
- otherGeometry
-
Type:
System.Data.Entity.Spatial.DbGeometry
The geometry value that should be compared with the first geometry value for relation.
- matrix
-
Type:
System.String
A string that contains the text representation of the (DE-9IM) intersection pattern that defines the relation.
Return Value
Type: System.Booleantrue if this geometryValue value relates to otherGeometry according to the specified intersection pattern matrix; otherwise, false.