Click or drag to resize
XDL

NXMilmapToolBoxGetResultGeoPoints Method

측정에 사용된 위경도 정점 배열을 반환한다.
DistanceMeasurer : 시작점과 끝점
PathMeasurer : 폴리라인을 이루는 정점
AreaMeasurer : 영역을 이루는 정점
CircleMeasurer : 원형 측정 중심(첫번째 정점), 원형 측정 중심과 반지름을 결정하는 정점(두번째 정점)
AngleMeasurer : 각도 측정 줌심(첫번째 정점), 중심을 기준으로 azimuth를 결정하는 정점(두번째 정점)

Namespace: Pixoneer.NXDL.NXMilmap
Assembly: NXMilmap (in NXMilmap.dll) Version: 3.0.0.3
Syntax
C#
public ArrayList GetResultGeoPoints()

Return Value

ArrayList
XGeoPoint 형식의 정점 배열
Example
C#
NXMilmapToolBox toolbox = nxMilmapView.ToolboxSet;
if (toolbox != null)
{
    System.Collections.ArrayList arrPt = toolbox.GetResultGeoPoints();
    System.Collections.ArrayList arrRes = toolbox.GetResultStrings();
    if (arrPt != null)
    {
       for (int i = 0; i < arrPt.Count; i++)
       {
            XGeoPoint gp = (XGeoPoint)arrPt[i];
            if (gp != null)
            {
                System.Diagnostics.Debug.WriteLine("{0} {1} {2}", i, gp.lond, gp.latd);
            }
        }
    }
    if (arrRes != null)
    {
       for (int i = 0; i < arrRes.Count; i++)
       {
            System.Diagnostics.Debug.WriteLine("{0} {1}", i, arrRes[i]);
       }
    }
}
See Also