Udostępnij przez


SqlSpatialServices.Distance Metoda

Definicja

Przeciążenia

Distance(DbGeography, DbGeography)

Oblicza odległość między najbliższymi punktami w dwóch DbGeography wartościach.

Distance(DbGeometry, DbGeometry)

Oblicza odległość między najbliższymi punktami w dwóch DbGeometry wartościach.

Distance(DbGeography, DbGeography)

Oblicza odległość między najbliższymi punktami w dwóch DbGeography wartościach.

public override double Distance(System.Data.Entity.Spatial.DbGeography geographyValue, System.Data.Entity.Spatial.DbGeography otherGeography);
override this.Distance : System.Data.Entity.Spatial.DbGeography * System.Data.Entity.Spatial.DbGeography -> double
Public Overrides Function Distance (geographyValue As DbGeography, otherGeography As DbGeography) As Double

Parametry

geographyValue
DbGeography

Pierwsza wartość geografii.

otherGeography
DbGeography

Druga wartość geografii.

Zwraca

Podwójna wartość określająca odległość między dwoma najbliższymi punktami w lokalizacji geographyValue i innąGeografią.

Dotyczy

Distance(DbGeometry, DbGeometry)

Oblicza odległość między najbliższymi punktami w dwóch DbGeometry wartościach.

public override double Distance(System.Data.Entity.Spatial.DbGeometry geometryValue, System.Data.Entity.Spatial.DbGeometry otherGeometry);
override this.Distance : System.Data.Entity.Spatial.DbGeometry * System.Data.Entity.Spatial.DbGeometry -> double
Public Overrides Function Distance (geometryValue As DbGeometry, otherGeometry As DbGeometry) As Double

Parametry

geometryValue
DbGeometry

Pierwsza wartość geometryczna.

otherGeometry
DbGeometry

Druga wartość geometryczna.

Zwraca

Podwójna wartość określająca odległość między dwoma najbliższymi punktami w geometryValue i innymiGeometry.

Dotyczy