SpatialOperations.Distance 메서드 (Geography, Geography)
지리적 거리를 나타냅니다.
네임스페이스: System.Spatial
어셈블리: System.Spatial(System.Spatial.dll)
구문
‘선언
Public Overridable Function Distance ( _
operand1 As Geography, _
operand2 As Geography _
) As Double
‘사용 방법
Dim instance As SpatialOperations
Dim operand1 As Geography
Dim operand2 As Geography
Dim returnValue As Double
returnValue = instance.Distance(operand1, _
operand2)
public virtual double Distance(
Geography operand1,
Geography operand2
)
public:
virtual double Distance(
Geography^ operand1,
Geography^ operand2
)
abstract Distance :
operand1:Geography *
operand2:Geography -> float
override Distance :
operand1:Geography *
operand2:Geography -> float
public function Distance(
operand1 : Geography,
operand2 : Geography
) : double
매개 변수
- operand1
유형: System.Spatial.Geography
피연산자 1입니다.
- operand2
유형: System.Spatial.Geography
피연산자 2입니다.
반환 값
유형: System.Double
작업 결과입니다.