C# 클래스 DataServer.Position

상속: PropertyChangedBase, IXmlSerializable, ITrackLog, IConvertibleGeoJson
파일 보기 프로젝트 열기: TNOCS/csTouch 1 사용 예제들

Private Properties

프로퍼티 타입 설명
DegreeToRadian double
RadianToDegree double
ToBearing double

공개 메소드들

메소드 설명
AngleAndDistance ( double angle, double distanceKilometres ) : Position

Computes a new point based on angle and distance

Bearing ( Position toPosition ) : double

Computes the bearing to an other point

Clone ( ) : Position
Distance ( Position toPosition ) : double

Computes the distance between two positions in WGS84

FromCsv ( string ln, char separator = ',', bool newObject = true ) : IConvertibleCsv
FromGeoJson ( Newtonsoft.Json.Linq.JObject geoJsonObject, bool newObject = true ) : IConvertibleGeoJson
FromGeoJson ( string geoJson, bool newObject ) : IConvertibleGeoJson
GetSchema ( ) : XmlSchema
Position ( ) : System
Position ( double longitude, double latitude ) : System
Position ( double longitude, double latitude, double altitude ) : System
Position ( double longitude, double latitude, double altitude, double speed, double course ) : System
Position ( string csvString, char separator = ',' ) : System
ReadXml ( XmlReader reader ) : void
ToCsv ( char separator = ',' ) : string
ToGeoJson ( ) : string
ToMapPoint ( ) : MapPoint
ToMgrs ( ) : string
ToPoint ( ) : System.Windows.Point

Try not to use this function! Use MapPoint

ToString ( ) : string
ToWebMercator ( ) : MapPoint
WriteXml ( XmlWriter writer ) : void

비공개 메소드들

메소드 설명
DegreeToRadian ( double angle ) : double
RadianToDegree ( double angle ) : double
ToBearing ( double radians ) : double

메소드 상세

AngleAndDistance() 공개 메소드

Computes a new point based on angle and distance
public AngleAndDistance ( double angle, double distanceKilometres ) : Position
angle double Angle in degrees
distanceKilometres double
리턴 Position

Bearing() 공개 메소드

Computes the bearing to an other point
public Bearing ( Position toPosition ) : double
toPosition Position Other point
리턴 double

Clone() 공개 메소드

public Clone ( ) : Position
리턴 Position

Distance() 공개 메소드

Computes the distance between two positions in WGS84
public Distance ( Position toPosition ) : double
toPosition Position
리턴 double

FromCsv() 공개 메소드

public FromCsv ( string ln, char separator = ',', bool newObject = true ) : IConvertibleCsv
ln string
separator char
newObject bool
리턴 IConvertibleCsv

FromGeoJson() 공개 메소드

public FromGeoJson ( Newtonsoft.Json.Linq.JObject geoJsonObject, bool newObject = true ) : IConvertibleGeoJson
geoJsonObject Newtonsoft.Json.Linq.JObject
newObject bool
리턴 IConvertibleGeoJson

FromGeoJson() 공개 메소드

public FromGeoJson ( string geoJson, bool newObject ) : IConvertibleGeoJson
geoJson string
newObject bool
리턴 IConvertibleGeoJson

GetSchema() 공개 메소드

public GetSchema ( ) : XmlSchema
리턴 System.Xml.Schema.XmlSchema

Position() 공개 메소드

public Position ( ) : System
리턴 System

Position() 공개 메소드

public Position ( double longitude, double latitude ) : System
longitude double
latitude double
리턴 System

Position() 공개 메소드

public Position ( double longitude, double latitude, double altitude ) : System
longitude double
latitude double
altitude double
리턴 System

Position() 공개 메소드

public Position ( double longitude, double latitude, double altitude, double speed, double course ) : System
longitude double
latitude double
altitude double
speed double
course double
리턴 System

Position() 공개 메소드

public Position ( string csvString, char separator = ',' ) : System
csvString string
separator char
리턴 System

ReadXml() 공개 메소드

public ReadXml ( XmlReader reader ) : void
reader System.Xml.XmlReader
리턴 void

ToCsv() 공개 메소드

public ToCsv ( char separator = ',' ) : string
separator char
리턴 string

ToGeoJson() 공개 메소드

public ToGeoJson ( ) : string
리턴 string

ToMapPoint() 공개 메소드

public ToMapPoint ( ) : MapPoint
리턴 MapPoint

ToMgrs() 공개 메소드

public ToMgrs ( ) : string
리턴 string

ToPoint() 공개 메소드

Try not to use this function! Use MapPoint
public ToPoint ( ) : System.Windows.Point
리턴 System.Windows.Point

ToString() 공개 메소드

public ToString ( ) : string
리턴 string

ToWebMercator() 공개 메소드

public ToWebMercator ( ) : MapPoint
리턴 MapPoint

WriteXml() 공개 메소드

public WriteXml ( XmlWriter writer ) : void
writer System.Xml.XmlWriter
리턴 void