Condividi tramite


DbSpatialServices.Within(DbGeometry, DbGeometry) Metodo

Definizione

Determina se un valore di DbGeometry si trova all'interno dell'altro a livello spaziale.

public:
 abstract bool Within(System::Data::Spatial::DbGeometry ^ geometryValue, System::Data::Spatial::DbGeometry ^ otherGeometry);
public abstract bool Within (System.Data.Spatial.DbGeometry geometryValue, System.Data.Spatial.DbGeometry otherGeometry);
abstract member Within : System.Data.Spatial.DbGeometry * System.Data.Spatial.DbGeometry -> bool
Public MustOverride Function Within (geometryValue As DbGeometry, otherGeometry As DbGeometry) As Boolean

Parametri

geometryValue
DbGeometry

Primo valore geometrico.

otherGeometry
DbGeometry

Secondo valore geometrico.

Restituisce

true se geometryValue è all'interno di otherGeometry, in caso contrario false.

Eccezioni

geometryValue otherGeometry

geometryValue otherGeometry

Si applica a