Click or drag to resize
XDL

XccWGP2MGRS Method

Geographic좌표계를 MGRS좌표계로 변환한다.

Namespace:  Pixoneer.NXDL.NCC
Assembly:  NXDLcc (in NXDLcc.dll) Version: 1.2.817.72
Syntax
C#
public static bool WGP2MGRS(
	XAngle lon,
	XAngle lat,
	ref string strMGRS
)

Parameters

lon
Type: Pixoneer.NXDLXAngle
[In] 경도
lat
Type: Pixoneer.NXDLXAngle
[In] 위도
strMGRS
Type: SystemString
[Out] MGRS 좌표 점

Return Value

Type: Boolean
성공이면 true, 실패면 false를 리턴
Examples
XAngle angLon = new XAngle();
XAngle angLat = new XAngle();
angLon.deg = 127.1234;
angLat.deg = 36.1234;
string strMGRS = "";

Xcc.WGP2MGRS(angLon, angLat, ref strMGRS);
See Also