Represents a span of latitude in MS Flight Simulator. More...
Public Member Functions | |
| FsLatitudeSpan (double DecimalDegrees) | |
| Create a new latitude span represented by a number of degrees. | |
| FsLatitudeSpan (int Degrees, double DecimalMinutes) | |
| Create a new latitude span represented by a number of degrees and minutes. | |
| FsLatitudeSpan (int Degrees, int Minutes, double DecimalSeconds) | |
| Create a new latitude span represented by a number of degrees, minutes and seconds. | |
| double | ToFeet () |
| Gets the distance represented by the span in Feet. | |
| double | ToNauticalMiles () |
| Gets the distance represented by the span in Nautical Miles. | |
| double | ToMetres () |
| Gets the distance represented by the span in Metres. | |
| override string | ToString () |
| The span represented as a string in the default format of dd* mm.mmmm'. | |
| string | ToString (string DetailLevel, int DecimalPlaces) |
| The span represented as a string in the specified format. | |
Static Public Member Functions | |
| static FsLatitudeSpan | FromFeet (double Feet) |
| Create a new latitude span that represents a given distance in Feet. | |
| static FsLatitudeSpan | FromNauticalMiles (double NauticalMiles) |
| Create a new latitude span that represents a given distance in Nautical Miles. | |
| static FsLatitudeSpan | FromMetres (double Metres) |
| Create a new latitude span that represents a given distance in Metres. | |
| static FsLatitudeSpan | BetweenTwoLatitides (FsLatitude Lat1, FsLatitude Lat2) |
| Create a new latitude span from two latitudes. The span will be the shortest absolute distance between them. | |
Properties | |
| int | Degrees [get] |
| The number of whole degrees represented in the span. | |
| int | Minutes [get] |
| The number of whole minutes represented in the span. | |
| int | Seconds [get] |
| The number of whole seconds represented in the span. | |
| double | DecimalDegrees [get] |
| The total number of degrees represented in the span. | |
| double | DecimalMinutes [get] |
| The number of minutes represented in the span. | |
| double | DecimalSeconds [get] |
| The number of seconds represented in the span. | |
| double | TotalMinutes [get] |
| The value of the entire span represented in minutes. | |
| double | TotalSeconds [get] |
| The value of the entire span represented in seconds. | |
Represents a span of latitude in MS Flight Simulator.
| FsLatitudeSpan | ( | double | DecimalDegrees ) |
Create a new latitude span represented by a number of degrees.
| DecimalDegrees | The number of degrees for the span |
| FsLatitudeSpan | ( | int | Degrees, |
| double | DecimalMinutes | ||
| ) |
Create a new latitude span represented by a number of degrees and minutes.
| Degrees | The number of degrees for the span |
| DecimalMinutes | The number of minutes for the span |
| FsLatitudeSpan | ( | int | Degrees, |
| int | Minutes, | ||
| double | DecimalSeconds | ||
| ) |
Create a new latitude span represented by a number of degrees, minutes and seconds.
| Degrees | The number of degrees for the span |
| Minutes | The number of minutes for the span |
| DecimalSeconds | The number of seconds for the span |
| static FsLatitudeSpan BetweenTwoLatitides | ( | FsLatitude | Lat1, |
| FsLatitude | Lat2 | ||
| ) | [static] |
Create a new latitude span from two latitudes. The span will be the shortest absolute distance between them.
| Lat1 | The Latitude at one end of the span |
| Lat2 | The Latitude at the other end of the span |
| static FsLatitudeSpan FromFeet | ( | double | Feet ) | [static] |
Create a new latitude span that represents a given distance in Feet.
| Feet | The number of Feet to convert to a latitude span |
| static FsLatitudeSpan FromMetres | ( | double | Metres ) | [static] |
Create a new latitude span that represents a given distance in Metres.
| Metres | The number of Metres to convert to a latitude span |
| static FsLatitudeSpan FromNauticalMiles | ( | double | NauticalMiles ) | [static] |
Create a new latitude span that represents a given distance in Nautical Miles.
| NauticalMiles | The number of Nautical Miles to convert to a latitude span |
| double ToFeet | ( | ) |
Gets the distance represented by the span in Feet.
| double ToMetres | ( | ) |
Gets the distance represented by the span in Metres.
| double ToNauticalMiles | ( | ) |
Gets the distance represented by the span in Nautical Miles.
| override string ToString | ( | ) |
The span represented as a string in the default format of dd* mm.mmmm'.
| string ToString | ( | string | DetailLevel, |
| int | DecimalPlaces | ||
| ) |
The span represented as a string in the specified format.
| DetailLevel | Specifies the detail level. "d" for degrees only, "m" for degrees and minutes, "s" for degrees, minutes and seconds |
| DecimalPlaces | The number of decimal places to show |
double DecimalDegrees [get] |
The total number of degrees represented in the span.
double DecimalMinutes [get] |
The number of minutes represented in the span.
double DecimalSeconds [get] |
The number of seconds represented in the span.
int Degrees [get] |
The number of whole degrees represented in the span.
int Minutes [get] |
The number of whole minutes represented in the span.
int Seconds [get] |
The number of whole seconds represented in the span.
double TotalMinutes [get] |
The value of the entire span represented in minutes.
double TotalSeconds [get] |
The value of the entire span represented in seconds.
1.7.2