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 More... | |
FsLatitude (int FSUnits) | |
Create a new latitude value from the 4-Byte MS Flight Simulator units supplied by FSUIPC More... | |
FsLatitude (Double DecimalDegrees) | |
Create a new latitude value in degrees - Uses the 8 byte FS Units More... | |
FsLatitude (Double DecimalDegrees, bool UseFullPrecision) | |
Create a new latitude value in degrees using either the 8 or 4 byte FS Units More... | |
FsLatitude (int Degrees, double DecimalMinutes) | |
Create a new latitude value in degrees and minutes - Uses the 8 byte FS Units More... | |
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 More... | |
FsLatitude (int Degrees, int Minutes, double DecimalSeconds) | |
Create a new latitude value in degrees, minutes and seconds - Uses the 8 byte FS Units More... | |
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 More... | |
long | ToFSUnits8 () |
Converts this latitude to 8-Byte MS Flight Simulator units. Can be used to write to FSUIPC, e.g. offset 0x0560 More... | |
int | ToFSUnits4 () |
Converts this latitude to 4-Byte MS Flight Simulator units. Can be used to write to FSUIPC, e.g. offset 0x085C More... | |
override string | ToString () |
The latitude represented as a string in the default format of N|S dd* mm.mm' More... | |
string | ToString (bool HemisphereAsText, string DetailLevel, short DecimalPlaces) |
The lattitude represented as a string in the specified format More... | |
FsLatitude | Add (FsLatitudeSpan Distance) |
Create a new latitude by adding a latitude span to the current lattitude More... | |
FsLatitude | Subtract (FsLatitudeSpan Distance) |
Create a new latitude by subtracting a latitude span from the current lattitude More... | |
FsLatitude | AddDegrees (Double Degrees) |
Create a new latitude by adding a number of degrees to the current latitude More... | |
FsLatitude | AddMinutes (Double Minutes) |
Create a new latitude by adding a number of minutes to the current latitude More... | |
FsLatitude | AddSeconds (Double Seconds) |
Create a new latitude by adding a number of seconds to the current latitude More... | |
Properties | |
int | Degree [get] |
The whole degree part of the latitude More... | |
int | Minute [get] |
The whole minute part of the latitude More... | |
int | Second [get] |
The whole second part of latitude More... | |
double | DecimalDegrees [get, set] |
The latitiude expressed in degrees More... | |
double | DecimalMinutes [get] |
The minutes part of the latitude More... | |
double | DecimalSeconds [get] |
The seconds part of the latitude More... | |
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 |
|
getset |
The latitiude expressed in degrees
|
get |
The minutes part of the latitude
|
get |
The seconds part of the latitude
|
get |
The whole degree part of the latitude
|
get |
The whole minute part of the latitude
|
get |
The whole second part of latitude