Compartir a través de


SpatialOperations.Distance Método (Geometry, Geometry)

Indica la distancia de geometría.

Espacio de nombres:  System.Spatial
Ensamblado:  System.Spatial (en System.Spatial.dll)

Sintaxis

'Declaración
Public Overridable Function Distance ( _
    operand1 As Geometry, _
    operand2 As Geometry _
) As Double
'Uso
Dim instance As SpatialOperations
Dim operand1 As Geometry
Dim operand2 As Geometry
Dim returnValue As Double

returnValue = instance.Distance(operand1, _
    operand2)
public virtual double Distance(
    Geometry operand1,
    Geometry operand2
)
public:
virtual double Distance(
    Geometry^ operand1, 
    Geometry^ operand2
)
abstract Distance : 
        operand1:Geometry * 
        operand2:Geometry -> float 
override Distance : 
        operand1:Geometry * 
        operand2:Geometry -> float 
public function Distance(
    operand1 : Geometry, 
    operand2 : Geometry
) : double

Parámetros

Valor devuelto

Tipo: System.Double
Resultado de la operación.

Vea también

Referencia

SpatialOperations Clase

Sobrecarga de Distance

Espacio de nombres System.Spatial