DbSpatialServices.Distance Methode
Definitie
Belangrijk
Bepaalde informatie heeft betrekking op een voorlopige productversie die aanzienlijk kan worden gewijzigd voordat deze wordt uitgebracht. Microsoft biedt geen enkele expliciete of impliciete garanties met betrekking tot de informatie die hier wordt verstrekt.
Berekent de afstand tussen de dichtstbijzijnde punten in twee waarden.
Overloads
| Name | Description |
|---|---|
| Distance(DbGeography, DbGeography) |
Berekent de afstand tussen de dichtstbijzijnde punten in twee DbGeography waarden. |
| Distance(DbGeometry, DbGeometry) |
Berekent de afstand tussen de dichtstbijzijnde punten in twee DbGeometry waarden. |
Distance(DbGeography, DbGeography)
Berekent de afstand tussen de dichtstbijzijnde punten in twee DbGeography waarden.
public:
abstract double Distance(System::Data::Spatial::DbGeography ^ geographyValue, System::Data::Spatial::DbGeography ^ otherGeography);
public abstract double Distance(System.Data.Spatial.DbGeography geographyValue, System.Data.Spatial.DbGeography otherGeography);
abstract member Distance : System.Data.Spatial.DbGeography * System.Data.Spatial.DbGeography -> double
Public MustOverride Function Distance (geographyValue As DbGeography, otherGeography As DbGeography) As Double
Parameters
- geographyValue
- DbGeography
De eerste geografiewaarde.
- otherGeography
- DbGeography
De tweede geografiewaarde.
Retouren
Een dubbele waarde die de afstand aangeeft tussen de twee dichtstbijzijnde punten in geographyValue en otherGeography.
Uitzonderingen
geographyValue
otherGeography
geographyValue
otherGeography
Van toepassing op
Distance(DbGeometry, DbGeometry)
Berekent de afstand tussen de dichtstbijzijnde punten in twee DbGeometry waarden.
public:
abstract double Distance(System::Data::Spatial::DbGeometry ^ geometryValue, System::Data::Spatial::DbGeometry ^ otherGeometry);
public abstract double Distance(System.Data.Spatial.DbGeometry geometryValue, System.Data.Spatial.DbGeometry otherGeometry);
abstract member Distance : System.Data.Spatial.DbGeometry * System.Data.Spatial.DbGeometry -> double
Public MustOverride Function Distance (geometryValue As DbGeometry, otherGeometry As DbGeometry) As Double
Parameters
- geometryValue
- DbGeometry
De eerste geometriewaarde.
- otherGeometry
- DbGeometry
De tweede geometriewaarde.
Retouren
Een dubbele waarde die de afstand aangeeft tussen de twee dichtstbijzijnde punten in geometryValue en otherGeometry.
Uitzonderingen
geometryValue
otherGeometry
geometryValue
otherGeometry