Partager via


SpatialOperations.Distance Méthode

Définition

Surcharges

Distance(Geography, Geography)

Indique une distance géographique.

Distance(Geometry, Geometry)

Indique la distance géométrique.

Distance(Geography, Geography)

Indique une distance géographique.

public virtual double Distance (Microsoft.Spatial.Geography operand1, Microsoft.Spatial.Geography operand2);
abstract member Distance : Microsoft.Spatial.Geography * Microsoft.Spatial.Geography -> double
override this.Distance : Microsoft.Spatial.Geography * Microsoft.Spatial.Geography -> double
Public Overridable Function Distance (operand1 As Geography, operand2 As Geography) As Double

Paramètres

operand1
Geography

Opérande 1.

operand2
Geography

Opérande 2.

Retours

Le résultat d'opération.

S’applique à

Distance(Geometry, Geometry)

Indique la distance géométrique.

public virtual double Distance (Microsoft.Spatial.Geometry operand1, Microsoft.Spatial.Geometry operand2);
abstract member Distance : Microsoft.Spatial.Geometry * Microsoft.Spatial.Geometry -> double
override this.Distance : Microsoft.Spatial.Geometry * Microsoft.Spatial.Geometry -> double
Public Overridable Function Distance (operand1 As Geometry, operand2 As Geometry) As Double

Paramètres

operand1
Geometry

Opérande 1.

operand2
Geometry

Opérande 2.

Retours

Le résultat d'opération.

S’applique à