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 More... | |
FsLongitudeSpan (int Degrees, double DecimalMinutes) | |
Create a new longitude span represented by a number of degrees and minutes More... | |
FsLongitudeSpan (int Degrees, int Minutes, double DecimalSeconds) | |
Create a new longitude span represented by a number of degrees, minutes and seconds More... | |
double | ToFeet (FsLatitude AtLatitude) |
Gets the distance represented by the span in Feet More... | |
double | ToNauticalMiles (FsLatitude AtLatitude) |
Gets the distance represented by the span in Nautical Miles More... | |
double | ToMetres (FsLatitude AtLatitude) |
Gets the distance represented by the span in Metres More... | |
override string | ToString () |
The span represented as a string in the default format of dd* mm.mmmm' More... | |
string | ToString (string DetailLevel, int DecimalPlaces) |
The span represented as a string in the specified format More... | |
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 More... | |
static FsLongitudeSpan | FromNauticalMiles (double NauticalMiles, FsLatitude AtLatitude) |
Create a new longitude span that represents a given distance in Nautical Miles at a given latitude More... | |
static FsLongitudeSpan | FromMetres (double Metres, FsLatitude AtLatitude) |
Create a new longitude span that represents a given distance in Metres at a given latitude More... | |
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. More... | |
Properties | |
int | Degrees [get] |
The number of whole degrees represented in the span More... | |
int | Minutes [get] |
The number of whole minutes represented in the span More... | |
int | Seconds [get] |
The number of whole seconds represented in the span More... | |
double | DecimalDegrees [get] |
The total number of degrees represented in the span More... | |
double | DecimalMinutes [get] |
The number of minutes represented in the span More... | |
double | DecimalSeconds [get] |
The number of seconds represented in the span More... | |
double | TotalMinutes [get] |
The value of the entire span represented in minutes More... | |
double | TotalSeconds [get] |
The value of the entire span represented in seconds More... | |
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 |
|
get |
The total number of degrees represented in the span
|
get |
The number of minutes represented in the span
|
get |
The number of seconds represented in the span
|
get |
The number of whole degrees represented in the span
|
get |
The number of whole minutes represented in the span
|
get |
The number of whole seconds represented in the span
|
get |
The value of the entire span represented in minutes
|
get |
The value of the entire span represented in seconds