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