FSUIPC Client DLL
.NET interface for FSUIPC
|
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. | |
Represents a span of longitude in MS Flight Simulator.
|
inline |
Create a new longitude span represented by a number of degrees.
DecimalDegrees | The number of degrees for the span |
|
inline |
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 |
|
inline |
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 |
|
inlinestatic |
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 |
|
inlinestatic |
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) |
|
inlinestatic |
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) |
|
inlinestatic |
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) |
|
inline |
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) |
|
inline |
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) |
|
inline |
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) |
|
inline |
The span represented as a string in the default format of dd* mm.mmmm'.
|
inline |
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 |