|
| TalMap SDK Libary Reference |
| XCoordSys::GetRealDistance |
| 2개의 Bessel 좌표간의 실거리를 구합니다. |
|
|
|
|
Parameters
| |
| Lon1 |
| 첫번째 좌표 Lon 값 |
| Lat1 |
| 첫번째 좌표 Lat 값 |
| Lon2 |
| 두번째 좌표 Lon 값 |
| Lat2 |
| 두번째 좌표 Lat 값 |
|
|
|
|
Return Value
| |
double 타입.
두 좌표 사이의 거리 값.
|
|
|
|
Remarks
| |
GetRealDistance 는 XCoordSys 의 Method로 제공됩니다.
사용자는 이 메소드를 이용하여, 두 좌표 간의 실제 거리를 구합니다.
|
|
|
|
Example
| |
|
|
function (Lon1, Lat1, Lon2, Lat2)
{
var coord = m_Map.GetCoordSys();
var dist = coord.GetRealDistance(Lon1, Lat1, Lon2, Lat2);
return dist;
}
|
|
|
|
#include "CXCoordSys.h"
double CSampleDlg::GetRealDistance(double Lon1, double Lat1, double Lon2, double Lat2)
{
CXCoordSys coord = m_Map.GetCoordSys();
double dist = coord.GetRealDistance(Lon1, Lat1, Lon2, Lat2);
return dist;
}
|
|
|
|
See Also
|
|