Compartilhar via


SqlSpatialServices.Within(DbGeometry, DbGeometry) Método

Definição

Determina se um valor DbGeometry está espacialmente dentro do outro.

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

Parâmetros

geometryValue
DbGeometry

O primeiro valor de geometria.

otherGeometry
DbGeometry

O segundo valor de geometria.

Retornos

true se geometryValue estiver dentro de otherGeometry; caso contrário, false.

Aplica-se a