Udostępnij przez


SqlSpatialServices.Within(DbGeometry, DbGeometry) Metoda

Definicja

Określa, czy jedna DbGeometry wartość jest przestrzenna w drugiej.

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

Parametry

geometryValue
DbGeometry

Pierwsza wartość geometryczna.

otherGeometry
DbGeometry

Druga wartość geometryczna.

Zwraca

wartość true, jeśli wartość geometryValue znajduje się w obrębie innego elementuGeometry; w przeciwnym razie wartość false.

Dotyczy