次の方法で共有


SpatialOperations.Distance メソッド (Geometry, Geometry)

ジオメトリ距離を示します。

名前空間:  System.Spatial
アセンブリ:  System.Spatial (System.Spatial.dll)

構文

'宣言
Public Overridable Function Distance ( _
    operand1 As Geometry, _
    operand2 As Geometry _
) As Double
'使用
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

パラメーター

戻り値

型: System.Double
操作の結果。

関連項目

参照

SpatialOperations クラス

Distance オーバーロード

System.Spatial 名前空間