Metodo SqlSpatialServices.Intersects (DbGeometry, DbGeometry)
[Questa pagina è specifica della versione 6 di Entity Framework. La versione più recente è disponibile come pacchetto NuGet per "Entity Framework". Per ulteriori informazioni su Entity Framework, vedere la pagina msdn.com/data/ef.]
Determina se due valori DbGeometry specificati si intersecano spazialmente.
Spazio dei nomi: System.Data.Entity.SqlServer
Assembly: EntityFramework.SqlServer (in EntityFramework.SqlServer.dll)
Sintassi
'Dichiarazione
Public Overrides Function Intersects ( _
geometryValue As DbGeometry, _
otherGeometry As DbGeometry _
) As Boolean
'Utilizzo
Dim instance As SqlSpatialServices
Dim geometryValue As DbGeometry
Dim otherGeometry As DbGeometry
Dim returnValue As Boolean
returnValue = instance.Intersects(geometryValue, _
otherGeometry)
public override bool Intersects(
DbGeometry geometryValue,
DbGeometry otherGeometry
)
public:
virtual bool Intersects(
DbGeometry^ geometryValue,
DbGeometry^ otherGeometry
) override
abstract Intersects :
geometryValue:DbGeometry *
otherGeometry:DbGeometry -> bool
override Intersects :
geometryValue:DbGeometry *
otherGeometry:DbGeometry -> bool
public override function Intersects(
geometryValue : DbGeometry,
otherGeometry : DbGeometry
) : boolean
Parametri
- geometryValue
Tipo: System.Data.Entity.Spatial.DbGeometry
Primo valore geometrico da confrontare ai fini dell'intersezione.
- otherGeometry
Tipo: System.Data.Entity.Spatial.DbGeometry
Secondo valore geometrico da confrontare ai fini dell'intersezione.
Valore restituito
Tipo: System.Boolean
true se geometryValue interseca otherGeometry. In caso contrario, false.