Metodo SpatialOperations.Distance (Geometry, Geometry)
Indica una distanza geometrica.
Spazio dei nomi System.Spatial
Assembly: System.Spatial (in System.Spatial.dll)
Sintassi
'Dichiarazione
Public Overridable Function Distance ( _
operand1 As Geometry, _
operand2 As Geometry _
) As Double
'Utilizzo
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
Parametri
- operand1
Tipo: System.Spatial.Geometry
Operando 1.
- operand2
Tipo: System.Spatial.Geometry
Operando 2.
Valore restituito
Tipo: System.Double
Risultato dell'operazione.