다음을 통해 공유


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 네임스페이스