C# 클래스 Microsoft.WindowsMobile.Samples.Location.DegreesMinutesSeconds

class that represents a gps coordinate in degrees, minutes, and seconds.
파일 보기 프로젝트 열기: ushahidi/Ushahidi_WinMobile

공개 메소드들

메소드 설명
DegreesMinutesSeconds ( bool isPositive, uint degrees, uint minutes, double seconds ) : System

Constructs a new instance of DegreesMinutesSeconds

DegreesMinutesSeconds ( double decimalDegrees ) : System

Constructs a new instance of DegreesMinutesSeconds converting from decimal degrees

ToDecimalDegrees ( ) : double

Converts the decimal, minutes, seconds coordinate to decimal degrees

ToString ( ) : string

Converts the instance to a string in format: D M' S"

메소드 상세

DegreesMinutesSeconds() 공개 메소드

Constructs a new instance of DegreesMinutesSeconds
public DegreesMinutesSeconds ( bool isPositive, uint degrees, uint minutes, double seconds ) : System
isPositive bool True if the coordinates are positive coordinate, false if they /// are negative coordinates.
degrees uint Degrees unit of the coordinate
minutes uint Minutes unit of the coordinate
seconds double Seconds unit of the coordinate. This should be a positive value.
리턴 System

DegreesMinutesSeconds() 공개 메소드

Constructs a new instance of DegreesMinutesSeconds converting from decimal degrees
public DegreesMinutesSeconds ( double decimalDegrees ) : System
decimalDegrees double Initial value as decimal degrees
리턴 System

ToDecimalDegrees() 공개 메소드

Converts the decimal, minutes, seconds coordinate to decimal degrees
public ToDecimalDegrees ( ) : double
리턴 double

ToString() 공개 메소드

Converts the instance to a string in format: D M' S"
public ToString ( ) : string
리턴 string