FSUIPC Client DLL
.NET interface for FSUIPC
|
A structure representing a longitude value in MS Flight Simulator. More...
Public Member Functions | |
FsLongitude (long FSUnits) | |
Create a new longitude value from the 8-Byte MS Flight Simulator units supplied by FSUIPC. | |
FsLongitude (int FSUnits) | |
Create a new longitude value from the 4-Byte MS Flight Simulator units supplied by FSUIPC. | |
FsLongitude (Double DecimalDegrees) | |
Create a new longitude value in degrees - Uses the 8 byte FS Units. | |
FsLongitude (Double DecimalDegrees, bool UseFullPrecision) | |
Create a new longitude value in degrees using either the 8 or 4 byte FS Units. | |
FsLongitude (int Degrees, double DecimalMinutes) | |
Create a new longitude value in degrees and minutes - Uses the 8 byte FS Units. | |
FsLongitude (int Degrees, double DecimalMinutes, bool UseFullPrecision) | |
Create a new longitude value in degrees and minutes using either the 8 or 4 byte FS Units. | |
FsLongitude (int Degrees, int Minutes, double DecimalSeconds) | |
Create a new longitude value in degrees, minutes and seconds - Uses the 8 byte FS Units. | |
FsLongitude (int Degrees, int Minutes, double DecimalSeconds, bool UseFullPrecision) | |
Create a new longitude value in degrees, minutes and seconds using either the 8 or 4 byte FS Units. | |
long | ToFSUnits8 () |
Converts this longitude to 8-Byte MS Flight Simulator units. Can be used to write to FSUIPC, e.g. offset 0x0568. | |
int | ToFSUnits4 () |
Converts this longitude to 4-Byte MS Flight Simulator units. Can be used to write to FSUIPC, e.g. offset 0x0864. | |
override string | ToString () |
The longitude represented as a string in the default format of N|S dd* mm.mmmm'. | |
string | ToString (bool HemisphereAsText, string DetailLevel, short DecimalPlaces) |
The longitude represented as a string in the specified format. | |
FsLongitude | Add (FsLongitudeSpan Distance) |
Create a new longitude by adding a longitude span to the current longitude. | |
FsLongitude | Subtract (FsLongitudeSpan Distance) |
Create a new longitude by subtracting a longitude span from the current longitude. | |
FsLongitude | AddDegrees (Double Degrees) |
Create a new longitude by adding a number of degrees to the current longitude. | |
FsLongitude | AddMinutes (Double Minutes) |
Create a new longitude by adding a number of minutes to the current longitude. | |
FsLongitude | AddSeconds (Double Seconds) |
Create a new longitude by adding a number of seconds to the current longitude. | |
A structure representing a longitude value in MS Flight Simulator.
|
inline |
|
inline |
|
inline |
Create a new longitude value in degrees - Uses the 8 byte FS Units.
DecimalDegrees | The longitude value in degrees |
|
inline |
Create a new longitude value in degrees using either the 8 or 4 byte FS Units.
DecimalDegrees | The longitude value in degrees |
UseFullPrecision | Pass true to use the 8-Byte FS Units, or false to use the 4-Byte Units |
|
inline |
Create a new longitude value in degrees and minutes - Uses the 8 byte FS Units.
Degrees | The number of degrees for the new longitude |
DecimalMinutes | The number of minutes for the new longitude |
|
inline |
Create a new longitude value in degrees and minutes using either the 8 or 4 byte FS Units.
Degrees | The number of degrees for the new longitude |
DecimalMinutes | The number of minutes for the new longitude |
UseFullPrecision | Pass true to use the 8-Byte FS Units, or false to use the 4-Byte Units |
|
inline |
Create a new longitude value in degrees, minutes and seconds - Uses the 8 byte FS Units.
Degrees | The number of degrees for the new longitude |
Minutes | The number of minutes for the new longitude |
DecimalSeconds | The number of seconds for the new longitude |
|
inline |
Create a new longitude value in degrees, minutes and seconds using either the 8 or 4 byte FS Units.
Degrees | The number of degrees for the new longitude |
Minutes | The number of minutes for the new longitude |
DecimalSeconds | The number of seconds for the new longitude |
UseFullPrecision | Pass true to use the 8-Byte FS Units, or false to use the 4-Byte Units |
|
inline |
Create a new longitude by adding a longitude span to the current longitude.
Distance | The longitude span to add |
|
inline |
Create a new longitude by adding a number of degrees to the current longitude.
Degrees | The number of degrees to add |
|
inline |
Create a new longitude by adding a number of minutes to the current longitude.
Minutes | The nunber of minutes to add |
|
inline |
Create a new longitude by adding a number of seconds to the current longitude.
Seconds | The nunber of seconds to add |
|
inline |
Create a new longitude by subtracting a longitude span from the current longitude.
Distance | The longitude span to subtract |
|
inline |
Converts this longitude to 4-Byte MS Flight Simulator units. Can be used to write to FSUIPC, e.g. offset 0x0864.
|
inline |
Converts this longitude to 8-Byte MS Flight Simulator units. Can be used to write to FSUIPC, e.g. offset 0x0568.
|
inline |
The longitude represented as a string in the default format of N|S dd* mm.mmmm'.
|
inline |
The longitude represented as a string in the specified format.
HemisphereAsText | Denote hemisphere using W or E. If false, west is marked as - |
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 |