Represents a span of longitude in MS Flight Simulator. More...
Public Member Functions | |
| FsLongitudeSpan (double DecimalDegrees) | |
| Create a new longitude span represented by a number of degrees. | |
| FsLongitudeSpan (int Degrees, double DecimalMinutes) | |
| Create a new longitude span represented by a number of degrees and minutes. | |
| FsLongitudeSpan (int Degrees, int Minutes, double DecimalSeconds) | |
| Create a new longitude span represented by a number of degrees, minutes and seconds. | |
| double | ToFeet (FsLatitude AtLatitude) |
| Gets the distance represented by the span in Feet. | |
| double | ToNauticalMiles (FsLatitude AtLatitude) |
| Gets the distance represented by the span in Nautical Miles. | |
| double | ToMetres (FsLatitude AtLatitude) |
| 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 FsLongitudeSpan | FromFeet (double Feet, FsLatitude AtLatitude) |
| Create a new longitude span that represents a given distance in Feet at a given latitude. | |
| static FsLongitudeSpan | FromNauticalMiles (double NauticalMiles, FsLatitude AtLatitude) |
| Create a new longitude span that represents a given distance in Nautical Miles at a given latitude. | |
| static FsLongitudeSpan | FromMetres (double Metres, FsLatitude AtLatitude) |
| Create a new longitude span that represents a given distance in Metres at a given latitude. | |
| static FsLongitudeSpan | BetweenTwoLongitudes (FsLongitude Lon1, FsLongitude Lon2) |
| Create a new longitude span from two longitudes. 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 longitude in MS Flight Simulator.
| FsLongitudeSpan | ( | double | DecimalDegrees ) |
Create a new longitude span represented by a number of degrees.
| DecimalDegrees | The number of degrees for the span |
| FsLongitudeSpan | ( | int | Degrees, |
| double | DecimalMinutes | ||
| ) |
Create a new longitude 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 |
| FsLongitudeSpan | ( | int | Degrees, |
| int | Minutes, | ||
| double | DecimalSeconds | ||
| ) |
Create a new longitude 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 FsLongitudeSpan BetweenTwoLongitudes | ( | FsLongitude | Lon1, |
| FsLongitude | Lon2 | ||
| ) | [static] |
Create a new longitude span from two longitudes. The span will be the shortest absolute distance between them.
| Lon1 | The longitude at one end of the span |
| Lon2 | The longitude at the other end of the span |
| static FsLongitudeSpan FromFeet | ( | double | Feet, |
| FsLatitude | AtLatitude | ||
| ) | [static] |
Create a new longitude span that represents a given distance in Feet at a given latitude.
| Feet | The number of Feet to convert to a logitude span |
| AtLatitude | The latitude at which to perform the calculation<para>(A degree of longitude near the equator is longer than a degree of longitude near a pole) |
| static FsLongitudeSpan FromMetres | ( | double | Metres, |
| FsLatitude | AtLatitude | ||
| ) | [static] |
Create a new longitude span that represents a given distance in Metres at a given latitude.
| Metres | The number of Metres to convert to a logitude span |
| AtLatitude | The latitude at which to perform the calculation<para>(A degree of longitude near the equator is longer than a degree of longitude near a pole) |
| static FsLongitudeSpan FromNauticalMiles | ( | double | NauticalMiles, |
| FsLatitude | AtLatitude | ||
| ) | [static] |
Create a new longitude span that represents a given distance in Nautical Miles at a given latitude.
| NauticalMiles | The number of Nautical Miles to convert to a logitude span |
| AtLatitude | The latitude at which to perform the calculation<para>(A degree of longitude near the equator is longer than a degree of longitude near a pole) |
| double ToFeet | ( | FsLatitude | AtLatitude ) |
Gets the distance represented by the span in Feet.
| AtLatitude | The latitude at which to perform the calculation<para>(A degree of longitude near the equator is longer than a degree of longitude near a pole) |
| double ToMetres | ( | FsLatitude | AtLatitude ) |
Gets the distance represented by the span in Metres.
| AtLatitude | The latitude at which to perform the calculation<para>(A degree of longitude near the equator is longer than a degree of longitude near a pole) |
| double ToNauticalMiles | ( | FsLatitude | AtLatitude ) |
Gets the distance represented by the span in Nautical Miles.
| AtLatitude | The latitude at which to perform the calculation<para>(A degree of longitude near the equator is longer than a degree of longitude near a pole) |
| 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