Click or drag to resize
XDL

XGeoPoint Class

이 클래스는 Geographic Coordinate System 상의 좌표인 위도, 경도, 고도값에 대한 Postion을 표현한다. 또한 이 클래스는 위도, 경도, 고도 값을 ECEF로 변환하거나 ECEF값을 위도, 경도, 고도값으로 변환을 수행가능하다. EEC 좌표계는 일반적인 좌표계가 아니다. XDL에서 2차원 도시 모드를 지원하기 위해 설정된 좌표계이다. 사용자가 특별히 EEC에 대한 내용은 알 필요가 없지만 Planet2D 에서 영상을 OnRender 함수를 통해 직접 Rendering을 수행할때 EEC좌표계 변환을 통해 도시해야 한다.
Inheritance Hierarchy
SystemObject
  Pixoneer.NXDLXGeoPoint

Namespace:  Pixoneer.NXDL
Assembly:  NXDL (in NXDL.dll) Version: 1.2.817.72
Syntax
C#
public class XGeoPoint : IDisposable

The XGeoPoint type exposes the following members.

Constructors
  NameDescription
Public methodXGeoPoint
XGeoPoint 클래스에 대한 기본 생성자로, 위도, 경도, 고도를 모두 0으로 초기화 한다.
Public methodXGeoPoint(XGeoPoint*)
XgeoPoint 클래스에 대한 생성자로, 외부 XDL::XGeoPoint객체를 입력받아 같은 값으로 초기화 한다.
Public methodXGeoPoint(XGeoPoint)
XgeoPoint 클래스에 대한 생성자로, 외부 XGeoPoint 객체를 입력받아 값은 값으로 초기화 한다.
Public methodXGeoPoint(XGeoPoint)
Deprecated: XgeoPoint 클래스에 대한 생성자로, 외부 XGeoPoint 객체를 참조로 입력받아 값은 값으로 초기화 한다.
Top
Properties
  NameDescription
Public propertyecr
XVertex3d객체형태의 ECR좌표계값으로 this객체를 설정하거나 XVertex3d의 ECR값을 얻는다.
Public propertyeec
XVertex3d객체형태의 EEC좌표계값으로 this객체를 설정하거나 XVertex3d의 EEC값을 얻는다.
Public propertyhgt
고도값을 double형의 Meter값으로 설정하거나 얻는다.
Public propertylat
위도값을 XAngle객체로 설정하거나 반환한다.
Public propertylatd
위도값을 double형의 Degree값으로 설정하거나 얻는다.
Public propertylatr
위도값을 double형의 Radian값으로 설정하거나 얻는다.
Public propertylon
경도값을 XAngle객체로 설정하거나 얻는다.
Public propertylond
경도값을 double형의 Degree값으로 설정하거나 얻는다.
Public propertylonr
경도값을 double형의 Radian값으로 설정하거나 얻는다.
Public propertywm
XVertex3d객체형태의 Web Mercator좌표계값으로 this객체를 설정하거나 XVertex3d의 Web Mercator값을 얻는다.
Top
Methods
  NameDescription
Public methodStatic memberFromAngle
XAngle객체인 위도, 경도, 고도 값을 입력 받아 XGeoPoint객체를 생성하여 반환한다.
Public methodStatic memberFromDegree
double 형의 위도, 경도, 고도 값을 Degree값으로 입력 받아 XGeoPoint객체를 생성하여 반환한다.
Public methodStatic memberFromEcr(XVertex3d)
ECR 좌표 값을 XVertex3d 객체로 입력 받아 XGeoPoint 객체를 생성하여 반환한다.
Public methodStatic memberFromEcr(Double, Double, Double)
입력 double 형의 x, y, z값(단위 : Meter)으로 부터 XGeoPoint객체를 생성하여 반환한다.
Public methodStatic memberFromEec(XVertex3d)
XVertex3d형의 EEC좌표계 값을 입력 받아 XGeoPoint값으로 변환한다.
Public methodStatic memberFromEec(Double, Double, Double)
double형의 x, y, z값(단위 : Meter) EEC 좌표값을 입력 받아 XGeoPoint값을 생성하여 반환한다.
Public methodStatic memberFromRadian
double 형의 위도, 경도, 고도 값을 Radian값으로 입력 받아 XGeoPoint객체를 생성하여 반환한다.
Public methodStatic memberFromWM(XVertex3d)
XVertex3d형의 Web Mercator좌표계 값을 입력 받아 XGeoPoint값으로 변환한다.
Public methodStatic memberFromWM(Double, Double, Double)
double형의 x, y, z값(단위 : Meter) Web Mercator 좌표값을 입력 받아 XGeoPoint값을 생성하여 반환한다.
Public methodGetUnmanObj
Public methodIsEqual
입력된 XGeoPoint객체의 값과 this객체와 동일한지 여부를 확인하여 같을 경우 true를 다르면 false를 반환한다.
Public methodllh
this객체에 XAngle객체의 위도, 경도 값과 double형의 고도값(단위 Meter)으로 설정한다.
Public methodllhd
this객체의 경도, 위도와 고도값을 XVertex3d의 x, y, z값으로 변경하여 반환한다. 이때 x, y값의 단위는 Degree이고 z값은 Meter이다.
Public methodllhd(Double, Double, Double)
this객체에 double형의 Degree 위도, 경도 값과 double형의 고도값(단위 Meter)으로 설정한다.
Public methodllhr
this객체의 경도, 위도와 고도값을 XVertex3d의 x, y, z값으로 변경하여 반환한다. 이때 x, y값의 단위는 Radian이고 z값은 Meter이다.
Public methodllhr(Double, Double, Double)
this객체에 double형의 Radian 위도, 경도 값과 double형의 고도값(단위 Meter)으로 설정한다.
Top
Examples
This is example #1:
XGeoPoint geoPos1 = XGeoPoint.FromDegree(127.123, 36.1234, 258);
XGeoPoint geoPos2 = XGeoPoint.FromRadian(geoPos1.lonr, geoPos1.latr, geoPos1.hgt);
if (geoPos1.IsEqual(geoPos2))
    Console.WriteLine("geoPos1 is equal to geoPos2");
else
    Console.WriteLine("geoPos1 is not equal to geoPos2");

XVertex3d v1 = geoPos1.ecr;

XGeoPoint geopos3 = XGeoPoint.FromEcr(ref v1);
if (geopos3.IsEqual(geoPos1))
    Console.WriteLine("geoPos3 is equal to geoPos1");
else
    Console.WriteLine("geoPos3 is not equal to geoPos1");
See Also